/external/tensorflow/tensorflow/core/kernels/ |
D | save_v2_op_test.cc | 134 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 150 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 166 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 182 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 198 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 214 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 231 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 247 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 263 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 279 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() [all …]
|
D | save_op_test.cc | 142 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 161 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 180 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 199 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 218 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 236 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 254 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 272 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 290 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() 308 EXPECT_TRUE(shape.IsSameSize(expected)); in TEST_F() [all …]
|
D | restore_v2_op_test.cc | 208 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() 220 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() 232 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() 244 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() 256 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() 268 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() 281 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() 293 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() 305 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() 317 EXPECT_TRUE(output->shape().IsSameSize(expected)); in RunTest() [all …]
|
D | restore_op_test.cc | 198 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() 210 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() 222 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() 234 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() 246 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() 258 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() 271 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() 283 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() 295 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() 307 EXPECT_TRUE(output->shape().IsSameSize(expected)); in TEST_F() [all …]
|
D | training_ops.cc | 485 ctx, var.shape().IsSameSize(delta.shape()), in Compute() 527 ctx, var.shape().IsSameSize(delta.shape()), in Compute() 672 ctx, var.shape().IsSameSize(accum.shape()), in DoValidate() 677 ctx, var.shape().IsSameSize(grad.shape()), in DoValidate() 801 ctx, var.shape().IsSameSize(accum_grad.shape()), in DoCompute() 805 OP_REQUIRES(ctx, var.shape().IsSameSize(accum_update.shape()), in DoCompute() 948 ctx, var.shape().IsSameSize(delta.shape()), in Compute() 1159 ctx, var.shape().IsSameSize(accum.shape()), in Compute() 1164 ctx, var.shape().IsSameSize(grad.shape()), in Compute() 1248 ctx, var.shape().IsSameSize(accum.shape()), in Compute() [all …]
|
D | xent_op.cc | 51 if (!logits_in.IsSameSize(labels_in)) { in Compute() 82 if (logits_in.IsSameSize(labels_in)) { in Compute()
|
D | save_restore_tensor.cc | 110 OP_REQUIRES(context, slice_shape.IsSameSize(input.shape()), in SaveTensors() 202 context, parsed_shape.IsSameSize(saved_shape), in RestoreTensor() 291 if (!restored_full_shape.IsSameSize(parsed_full_shape)) { in run()
|
D | fake_quant_ops.cc | 125 OP_REQUIRES(context, input.IsSameSize(gradient), in OperateNoTemplate() 232 OP_REQUIRES(context, input.IsSameSize(gradient), in Compute() 369 OP_REQUIRES(context, input.IsSameSize(gradient), in Compute()
|
D | queue_base.cc | 148 if (!component_shapes_[i].IsSameSize(tuple[i].shape())) { in ValidateTuple() 168 if (!expected_shape.IsSameSize(tuple[i].shape())) { in ValidateManyTuple()
|
D | assign_op.h | 66 const bool same_shape = old_lhs.shape().IsSameSize(rhs.shape()); in Compute()
|
D | conditional_accumulator.h | 73 if (!accum_grad_->shape().IsSameSize(tensor->shape())) { in ValidateShape()
|
D | cwise_op_select.cc | 100 ctx, then->shape().IsSameSize(else_->shape()), in ComputeBroadcasting() 133 ctx, then->shape().IsSameSize(else_->shape()), in ComputeScalar()
|
D | softsign_op.cc | 73 OP_REQUIRES(context, a.IsSameSize(g), in OperateNoTemplate()
|
D | softplus_op.cc | 72 OP_REQUIRES(context, a.IsSameSize(g), in OperateNoTemplate()
|
D | initializable_lookup_table.h | 172 if (!key_shape.IsSameSize(values_->shape())) { in KeyValueTensorIterator()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | training_ops.cc | 46 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() 245 OP_REQUIRES(ctx, var_shape.IsSameSize(accum_shape), in Compile() 256 OP_REQUIRES(ctx, var_shape.IsSameSize(grad_shape), in Compile() 287 OP_REQUIRES(ctx, var_shape.IsSameSize(accum_shape), in Compile() 305 OP_REQUIRES(ctx, var_shape.IsSameSize(grad_shape), in Compile() [all …]
|
D | select_op.cc | 39 ctx, then_shape.IsSameSize(else_shape), in Compile() 48 bool broadcasting = !cond_shape.IsSameSize(then_shape); in Compile()
|
D | pack_op.cc | 56 OP_REQUIRES(ctx, shapes[0].IsSameSize(shapes[i]), in Compile()
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/ |
D | inception_preprocessing_test.cc | 77 EXPECT_TRUE(outputs[0].shape().IsSameSize({1, 224, 224, 3})); in TEST() 106 EXPECT_TRUE(outputs[0].shape().IsSameSize({1, 224, 224, 3})); in TEST() 135 EXPECT_TRUE(outputs[0].shape().IsSameSize({1, 224, 224, 3})); in TEST()
|
D | imagenet_topk_eval.cc | 53 if (!output.shape().IsSameSize({1, kNumCategories})) { in ComputeEval()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_test.cc | 185 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({5, 7}))); in TEST() 196 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({5, 7}))); in TEST() 207 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({10, 20}))); in TEST() 299 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 2}))); in TEST() 310 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 2}))); in TEST() 321 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 2}))); in TEST() 332 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 2}))); in TEST() 351 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({2, 3, 4, 5}))); in SetUp() 352 EXPECT_TRUE(zero_t.shape().IsSameSize(TensorShape({3, 0, 2, 0, 5}))); in SetUp() 875 EXPECT_TRUE(t.shape().IsSameSize(TensorShape({10, 4, 3, 2}))); in TEST() [all …]
|
D | tensor_shape.h | 299 bool IsSameSize(const TensorShape& b) const; 300 bool operator==(const TensorShape& b) const { return IsSameSize(b); } 301 bool operator!=(const TensorShape& b) const { return !IsSameSize(b); }
|
D | tensor_shape_test.cc | 286 bool IsSameSize(const TensorShapeOld& b) const; 287 bool operator==(const TensorShapeOld& b) const { return IsSameSize(b); } in operator ==() 456 bool TensorShapeOld::IsSameSize(const TensorShapeOld& b) const { in IsSameSize() function in tensorflow::__anone850e9110111::TensorShapeOld
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ |
D | utils_test.cc | 50 EXPECT_TRUE(shape.IsSameSize({1, 8, 8, 3})); in TEST()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | ops.cc | 80 if (!TensorShape{e.tensor.shape()}.IsSameSize( in Initializer()
|