File tree 2 files changed +6
-6
lines changed
tensorflow-core/tensorflow-core-api/src
gen/annotations/org/tensorflow/op
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -357,10 +357,10 @@ public final class Ops {
357
357
358
358
public final SparseOps sparse ;
359
359
360
- public final TpuOps tpu ;
361
-
362
360
public final BitwiseOps bitwise ;
363
361
362
+ public final TpuOps tpu ;
363
+
364
364
public final MathOps math ;
365
365
366
366
public final AudioOps audio ;
@@ -388,8 +388,8 @@ private Ops(Scope scope) {
388
388
random = new RandomOps (this );
389
389
strings = new StringsOps (this );
390
390
sparse = new SparseOps (this );
391
- tpu = new TpuOps (this );
392
391
bitwise = new BitwiseOps (this );
392
+ tpu = new TpuOps (this );
393
393
math = new MathOps (this );
394
394
audio = new AudioOps (this );
395
395
signal = new SignalOps (this );
Original file line number Diff line number Diff line change @@ -210,13 +210,13 @@ public void pythonTfFunction() {
210
210
args .clear ();
211
211
212
212
// variable unwrapping happens in Session, which is used by ConcreteFunction.call
213
- ConcreteFunction getVariable = bundle .function ("get_variable" );
213
+ SessionFunction getVariable = bundle .function ("get_variable" );
214
214
try (TFloat32 dummy = TFloat32 .scalarOf (1.0f )) {
215
- args .put ("dummy" ,dummy );
215
+ args .put ("dummy" , dummy );
216
216
// TF functions always require an input, so we supply a dummy one here
217
217
// This test actually checks that resource variables can be loaded correctly.
218
218
try (TFloat32 v = (TFloat32 ) getVariable .call (args )
219
- .get (getVariable .signature ().outputNames ().iterator ().next ())) {
219
+ .get (getVariable .signature ().outputNames ().iterator ().next ())) {
220
220
assertEquals (2f , v .getFloat ());
221
221
}
222
222
}
You can’t perform that action at this time.
0 commit comments