Home
last modified time | relevance | path

Searched refs:IsCompatibleWith (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dpartial_tensor_shape_test.cc153 EXPECT_TRUE(f.IsCompatibleWith(f)); in TEST()
154 EXPECT_TRUE(a.IsCompatibleWith(b)); in TEST()
155 EXPECT_TRUE(a.IsCompatibleWith(a)); in TEST()
156 EXPECT_TRUE(b.IsCompatibleWith(b)); in TEST()
157 EXPECT_TRUE(a.IsCompatibleWith(c)); in TEST()
158 EXPECT_TRUE(b.IsCompatibleWith(c)); in TEST()
159 EXPECT_FALSE(a.IsCompatibleWith(d)); in TEST()
160 EXPECT_FALSE(b.IsCompatibleWith(d)); in TEST()
161 EXPECT_FALSE(c.IsCompatibleWith(d)); in TEST()
162 EXPECT_FALSE(a.IsCompatibleWith(e)); in TEST()
[all …]
Dtensor_shape.cc701 bool PartialTensorShape::IsCompatibleWith( in IsCompatibleWith() function in tensorflow::PartialTensorShape
730 if (!shapes0[i].IsCompatibleWith(shapes1[i])) { in AreCompatible()
Dtensor_shape.h430 bool IsCompatibleWith(const PartialTensorShape& shape) const;
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparse_example_dataset_op.cc108 OP_REQUIRES(ctx, dense_shapes_[d].IsCompatibleWith(def_value.shape()), in MakeDataset()
301 DCHECK(dataset_->output_shapes()[output_index].IsCompatibleWith( in MapFunc()
328 DCHECK(dataset_->output_shapes()[output_index].IsCompatibleWith( in MapFunc()
Ddirected_interleave_dataset_op.cc42 selector_input->output_shapes()[0].IsCompatibleWith( in MakeDataset()
Dscan_dataset_op.cc212 if (!output_shapes()[output_index].IsCompatibleWith( in GetNextInternal()
Dindexed_dataset_op.cc381 ctx, expected_shapes[i].IsCompatibleWith(out_tensors[i].shape()), in Compute()
/external/tensorflow/tensorflow/core/kernels/
Dconditional_accumulator.h80 if (!shape_.IsCompatibleWith(tensor->shape())) { in ValidateShape()
Dpadding_fifo_queue.cc241 if (!partial_shapes_[i].IsCompatibleWith(tuple[i].shape())) { in ValidateTuple()
258 if (!expected_shape.IsCompatibleWith(tuple[i].shape())) { in ValidateManyTuple()
Dlist_kernels.h527 element_shape_without_first_dim.IsCompatibleWith( in Compute()
691 OP_REQUIRES(c, element_shape.IsCompatibleWith(output_shape), in Compute()
819 OP_REQUIRES(c, element_shape.IsCompatibleWith(output_shape), in Compute()
868 if (!a.element_shape.IsCompatibleWith(b.element_shape)) { in TensorListBinaryAdd()
966 c, l->element_shape.IsCompatibleWith(input_element_shape), in Compute()
Dlist_kernels.cc282 OP_REQUIRES(c, l->element_shape.IsCompatibleWith(input.shape()), in Compute()
490 OP_REQUIRES(c, l->element_shape.IsCompatibleWith(value.shape()), in Compute()
Dshape_ops.cc474 if (!expected_shape_.IsCompatibleWith(shape)) { in Compute()
Dexample_parsing_ops.cc108 attrs_.dense_shapes[d].IsCompatibleWith(def_value.shape()), in Compute()
209 attrs_.dense_shapes[d].IsCompatibleWith(def_value.shape()), in Compute()
Dtensor_array.h472 if (!element_shape_.IsCompatibleWith(value_t->shape())) { in LockedWriteOrAggregate()
Dtensor_array_ops.cc666 ctx, element_shape_.IsCompatibleWith(value_0_t->shape()), in Compute()
901 ctx, element_shape_except0_.IsCompatibleWith(output_shape_except0), in Compute()
Dcudnn_rnn_ops.cc509 bool IsCompatibleWith(const CudnnRnnModelShapes& rhs) const { in IsCompatibleWith() function
548 return lhs.first.IsCompatibleWith(rhs.first) && lhs.second == rhs.second; in operator ()()
/external/tensorflow/tensorflow/core/kernels/data/
Doptional_ops.cc125 OP_REQUIRES(ctx, output_shapes_[i].IsCompatibleWith(components[i].shape()), in Compute()
Ddataset_utils.cc134 if (!expected[i].IsCompatibleWith(received[i])) { in VerifyShapesCompatible()
Dmap_defun_op.cc221 if (!compute_opts_->output_shapes.at(index).IsCompatibleWith( in SetRetval()
Diterator_ops.cc737 ctx, output_shapes_[i].IsCompatibleWith(state[i].shape()), in ComputeAsync()
1031 ctx, output_shapes_[i].IsCompatibleWith(components[i].shape()), in ComputeAsync()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc1793 if (!c.shape.IsCompatibleWith(c.default_value.shape())) { in FastParseSequenceExample()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc1552 return shape.IsCompatibleWith(new_dims); in IsSimplifiableReshape()
Darithmetic_optimizer.cc3272 if (input_slice_shape.IsCompatibleWith(output_shape)) { in RewriteGraph()