Home
last modified time | relevance | path

Searched refs:IsSameSize (Results 1 – 25 of 46) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dsave_v2_op_test.cc136 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
152 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
168 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
184 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
200 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
216 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
233 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
249 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
265 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
281 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
[all …]
Dsave_op_test.cc145 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
164 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
183 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
202 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
221 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
239 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
257 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
275 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
293 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
311 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F()
[all …]
Drestore_v2_op_test.cc211 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
223 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
235 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
247 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
259 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
271 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
284 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
296 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
308 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
320 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest()
[all …]
Drestore_op_test.cc201 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
213 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
225 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
237 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
249 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
261 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
274 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
286 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
298 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
310 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F()
[all …]
Dtraining_ops.cc957 ctx, var.shape().IsSameSize(delta.shape()), in Compute()
1083 ctx, var.shape().IsSameSize(accum.shape()), in DoValidate()
1088 ctx, var.shape().IsSameSize(grad.shape()), in DoValidate()
1208 ctx, var.shape().IsSameSize(accum_grad.shape()), in DoCompute()
1212 OP_REQUIRES(ctx, var.shape().IsSameSize(accum_update.shape()), in DoCompute()
1353 ctx, var.shape().IsSameSize(delta.shape()), in Compute()
1564 ctx, var.shape().IsSameSize(accum.shape()), in Compute()
1569 ctx, var.shape().IsSameSize(grad.shape()), in Compute()
1669 ctx, var.shape().IsSameSize(accum.shape()), in Compute()
1674 ctx, var.shape().IsSameSize(grad.shape()), in Compute()
[all …]
Dxent_op.cc48 if (!logits_in.IsSameSize(labels_in)) { in Compute()
79 if (logits_in.IsSameSize(labels_in)) { in Compute()
Dsave_restore_tensor.cc110 OP_REQUIRES(context, slice_shape.IsSameSize(input.shape()), in SaveTensors()
203 context, parsed_shape.IsSameSize(saved_shape), in RestoreTensor()
292 if (!restored_full_shape.IsSameSize(parsed_full_shape)) { in run()
Dfake_quant_ops.cc135 OP_REQUIRES(context, input.IsSameSize(gradient), in OperateNoTemplate()
244 OP_REQUIRES(context, input.IsSameSize(gradient), in Compute()
383 OP_REQUIRES(context, input.IsSameSize(gradient), in Compute()
Dqueue_base.cc148 if (!component_shapes_[i].IsSameSize(tuple[i].shape())) { in ValidateTuple()
168 if (!expected_shape.IsSameSize(tuple[i].shape())) { in ValidateManyTuple()
Dassign_op.h66 const bool same_shape = old_lhs.shape().IsSameSize(rhs.shape()); in Compute()
Dconditional_accumulator.h73 if (!accum_grad_->shape().IsSameSize(tensor->shape())) { in ValidateShape()
Dsoftplus_op.cc72 OP_REQUIRES(context, a.IsSameSize(g), in OperateNoTemplate()
Dsoftsign_op.cc73 OP_REQUIRES(context, a.IsSameSize(g), in OperateNoTemplate()
Ddense_update_ops.cc77 context, Tparams.IsSameSize(Tupdate), in DoUpdate()
Dinitializable_lookup_table.h180 if (!key_shape.IsSameSize(values_->shape())) { in KeyValueTensorIterator()
Dpack_op.cc100 OP_REQUIRES(c, first_input.shape().IsSameSize(input.shape()), in Compute()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtraining_ops.cc46 ctx, var_shape.IsSameSize(delta_shape), in Compile()
98 ctx, var_shape.IsSameSize(delta_shape), in Compile()
131 OP_REQUIRES(ctx, var_shape.IsSameSize(accum_shape), in Compile()
142 OP_REQUIRES(ctx, var_shape.IsSameSize(grad_shape), in Compile()
189 OP_REQUIRES(ctx, var_shape.IsSameSize(accum_shape), in Compile()
200 OP_REQUIRES(ctx, var_shape.IsSameSize(grad_shape), in Compile()
247 OP_REQUIRES(ctx, var_shape.IsSameSize(accum_shape), in Compile()
258 OP_REQUIRES(ctx, var_shape.IsSameSize(grad_shape), in Compile()
296 OP_REQUIRES(ctx, var_shape.IsSameSize(accum_shape), in Compile()
312 OP_REQUIRES(ctx, var_shape.IsSameSize(grad_shape), in Compile()
[all …]
Dselect_op.cc41 ctx, then_shape.IsSameSize(else_shape), in Compile()
50 bool broadcasting = !cond_shape.IsSameSize(then_shape); in Compile()
Dpack_op.cc56 OP_REQUIRES(ctx, shapes[0].IsSameSize(shapes[i]), in Compile()
/external/tensorflow/tensorflow/c/kernels/
Dsummary_op.cc65 bool IsSameSize(TF_Tensor* tensor1, TF_Tensor* tensor2);
77 if (!IsSameSize(params.tags, params.values)) { in ScalarSummaryOp_Compute()
113 bool IsSameSize(TF_Tensor* tensor1, TF_Tensor* tensor2) { in IsSameSize() function
/external/tensorflow/tensorflow/core/framework/
Dtensor_test.cc208 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({5, 7}))); in TEST()
219 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({5, 7}))); in TEST()
230 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({10, 20}))); in TEST()
329 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 2}))); in TEST()
340 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 2}))); in TEST()
351 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 2}))); in TEST()
362 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 2}))); in TEST()
381 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 3, 4, 5}))); in SetUp()
382 EXPECT_TRUE(zero_t.shape().IsSameSize(TensorShape({3, 0, 2, 0, 5}))); in SetUp()
908 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({10, 4, 3, 2}))); in TEST()
[all …]
Dtensor_shape.h367 bool IsSameSize(const TensorShape& b) const;
368 bool operator==(const TensorShape& b) const { return IsSameSize(b); }
369 bool operator!=(const TensorShape& b) const { return !IsSameSize(b); }
/external/tensorflow/tensorflow/cc/framework/
Dops.cc80 if (!TensorShape{e.tensor.shape()}.IsSameSize( in Initializer()
/external/tensorflow/tensorflow/compiler/tf2xla/lib/
Dbroadcast.cc101 if (!lhs_tf_shape.IsSameSize(rhs_tf_shape)) { in BroadcastOpsToSame()
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_set.cc125 if (!shape.IsSameSize(tss_shape)) { in RegisterTensorSlice()

12