Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dpartial_tensor_shape_test.cc127 EXPECT_TRUE(a.AsTensorShape(&full)); in TEST()
129 EXPECT_TRUE(b.AsTensorShape(&full)); in TEST()
133 EXPECT_FALSE(c.AsTensorShape(&full)); in TEST()
134 EXPECT_FALSE(d.AsTensorShape(&full)); in TEST()
Dtensor_shape.h551 bool AsTensorShape(TensorShape* shape) const;
Dtensor_shape.cc926 bool PartialTensorShape::AsTensorShape(TensorShape* shape) const { in AsTensorShape() function in tensorflow::PartialTensorShape
/external/tensorflow/tensorflow/core/util/
Dstrided_slice_op.cc435 if (!partial_processing_shape.AsTensorShape(processing_shape) || in ValidateStridedSliceOp()
436 !partial_final_shape.AsTensorShape(final_shape)) { in ValidateStridedSliceOp()
Dexample_proto_helper.cc663 dense_shapes[i].AsTensorShape(&dense_shape); in GetDenseShapes()
Dexample_proto_fast_parsing.cc1483 if (!config.dense[d].shape.AsTensorShape(&values_shape)) { in FastParseSingleExample()
2289 if (!c.shape.AsTensorShape(&example_shape) || in ParseContextDenseFeatures()
2496 if (!c.shape.AsTensorShape(&row_shape) || in ParseSequenceDenseFeatures()
/external/tensorflow/tensorflow/core/kernels/
Dlist_kernels.h109 OP_REQUIRES(c, partial_element_shape.AsTensorShape(&element_shape), in Compute()
206 c, partial_element_shape.AsTensorShape(&element_shape), in Compute()
254 c, partial_element_shape.AsTensorShape(&element_shape), in Compute()
374 OP_REQUIRES(c, element_shape_except_first_dim.AsTensorShape(&output_shape), in Compute()
591 c, partial_element_shape.AsTensorShape(&element_shape), in Compute()
Dtensor_array.h581 element_shape_.AsTensorShape(&element_shape); // Always succeeds. in LockedRead()
Dtensor_array_ops.cc646 element_shape_.AsTensorShape(&empty_shape); in Compute()
850 element_shape_except0_.AsTensorShape(&empty_shape); in Compute()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstrided_slice_op.cc84 ctx, partial_final_shape.AsTensorShape(&final_shape), in EmitDynamicSlice()
97 ctx, partial_processing_shape.AsTensorShape(&processing_shape), in EmitDynamicSlice()
247 ctx, partial_final_shape.AsTensorShape(&final_shape), in Compile()
Dtensor_array_ops.cc161 CHECK(element_shape_.AsTensorShape(&shape)); in Compile()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dtype_to_shape.cc89 if (!partial_tensor_shape.AsTensorShape(&fully_defined_tensor_shape)) { in TypeToShape()
/external/tensorflow/tensorflow/compiler/jit/
Dshape_inference_test.cc169 EXPECT_TRUE(iter->second.at(0).handle_shape.AsTensorShape(&resource_shape)); in TEST()
/external/tensorflow/tensorflow/core/kernels/data/
Dmap_defun_op.cc299 output_shapes_.at(i).AsTensorShape(&output_shape); in SetupOutputs()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compile_op_support.cc459 TF_RET_CHECK(static_shape.AsTensorShape(&shape)); in ComputeArgumentShapes()
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.cc747 if (!partial_shape.AsTensorShape(&shape)) { in OptimizeGraph()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dtensor_handle.cc535 bool fill = inference_shape_.AsTensorShape(shape); in Shape()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparse_example_dataset_op.cc110 dense_shapes_[i].AsTensorShape(&dense_shape); in ParseExampleDatasetOp()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_pass.cc2704 if (!raw_var_shape.handle_shape.AsTensorShape(&var_shape) && in CreatePerHostDummyArgs()
2705 !raw_var_shape.shape.AsTensorShape(&var_shape)) { in CreatePerHostDummyArgs()