Home
last modified time | relevance | path

Searched refs:AsTensorShape (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dpartial_tensor_shape_test.cc114 EXPECT_TRUE(a.AsTensorShape(&full)); in TEST()
116 EXPECT_TRUE(b.AsTensorShape(&full)); in TEST()
120 EXPECT_FALSE(c.AsTensorShape(&full)); in TEST()
121 EXPECT_FALSE(d.AsTensorShape(&full)); in TEST()
Dtensor_shape.h436 bool AsTensorShape(TensorShape* shape) const;
Dtensor_shape.cc681 bool PartialTensorShape::AsTensorShape(TensorShape* shape) const { in AsTensorShape() function in tensorflow::PartialTensorShape
/external/tensorflow/tensorflow/core/util/
Dexample_proto_helper.h190 dense_shapes[i].AsTensorShape(&dense_shape); in Init()
256 dense_shapes[i].AsTensorShape(&dense_shape); in Init()
Dstrided_slice_op.cc392 if (!partial_processing_shape.AsTensorShape(processing_shape) || in ValidateStridedSliceOp()
393 !partial_final_shape.AsTensorShape(final_shape)) { in ValidateStridedSliceOp()
Dexample_proto_fast_parsing.cc1272 if (!config.dense[d].shape.AsTensorShape(&values_shape)) { in FastParseSingleExample()
2007 if (!c.shape.AsTensorShape(&example_shape) || in FastParseSequenceExample()
2202 if (!c.shape.AsTensorShape(&row_shape) || in FastParseSequenceExample()
/external/tensorflow/tensorflow/core/kernels/
Dlist_kernels.h130 OP_REQUIRES(c, partial_element_shape.AsTensorShape(&element_shape), in Compute()
227 c, partial_element_shape.AsTensorShape(&element_shape), in Compute()
275 c, partial_element_shape.AsTensorShape(&element_shape), in Compute()
399 c, element_shape_except_first_dim_.AsTensorShape(&output_shape), in Compute()
614 c, partial_element_shape.AsTensorShape(&element_shape), in Compute()
Dtensor_array.h582 element_shape_.AsTensorShape(&element_shape); // Always succeeds. in LockedRead()
Dtensor_array_ops.cc651 element_shape_.AsTensorShape(&empty_shape); in Compute()
856 element_shape_except0_.AsTensorShape(&empty_shape); in Compute()
/external/tensorflow/tensorflow/core/kernels/data/
Dmap_defun_op.cc309 output_shapes_.at(i).AsTensorShape(&output_shape); in SetupOutputs()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtensor_list_ops.cc80 partial_element_shape.AsTensorShape(&element_shape); in CreateZerosList()
Dtensor_array_ops.cc161 CHECK(element_shape_.AsTensorShape(&shape)); in Compile()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparse_example_dataset_op.cc66 dense_shapes_[i].AsTensorShape(&dense_shape); in ParseExampleDatasetOp()
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc672 if (!partial_shape.AsTensorShape(&shape)) { in OptimizeGraph()