Home
last modified time | relevance | path

Searched refs:tensor_shape_proto (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/hexagon/
Dgraph_transfer_utils.cc75 TensorShapeProto& tensor_shape_proto = *tensor_shape_type.mutable_shape(); in BuildRemoteFusedGraphExecuteInfo() local
77 tensor_shape_proto.add_dim()->set_size(dim); in BuildRemoteFusedGraphExecuteInfo()
90 TensorShapeProto& tensor_shape_proto = in BuildRemoteFusedGraphExecuteInfo() local
93 tensor_shape_proto.add_dim()->set_size(dim); in BuildRemoteFusedGraphExecuteInfo()
Dhexagon_graph_execution_test.cc220 TensorShapeProto& tensor_shape_proto = *tensor_shape_type.mutable_shape(); in BuildRemoteFusedGraphExecuteInfoWithGraphTransferInfo() local
222 tensor_shape_proto.add_dim()->set_size(dim); in BuildRemoteFusedGraphExecuteInfoWithGraphTransferInfo()
232 TensorShapeProto& tensor_shape_proto = *tensor_shape_type.mutable_shape(); in BuildRemoteFusedGraphExecuteInfoWithGraphTransferInfo() local
234 tensor_shape_proto.add_dim()->set_size(dim); in BuildRemoteFusedGraphExecuteInfoWithGraphTransferInfo()
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator_test.cc926 const TensorShapeProto& tensor_shape_proto) { in ExpectTensorShape() argument
928 TensorShape tensor_shape(tensor_shape_proto); in ExpectTensorShape()
937 TensorShapeProto tensor_shape_proto; in TEST_F() local
943 GetTensorShapeProtoFromTensorProto(tensor_proto, &tensor_shape_proto)); in TEST_F()
950 GetTensorShapeProtoFromTensorProto(tensor_proto, &tensor_shape_proto)); in TEST_F()
955 GetTensorShapeProtoFromTensorProto(tensor_proto, &tensor_shape_proto)); in TEST_F()
963 GetTensorShapeProtoFromTensorProto(tensor_proto, &tensor_shape_proto)); in TEST_F()
964 ExpectTensorShape(shape_expected, tensor_shape_proto); in TEST_F()
972 GetTensorShapeProtoFromTensorProto(tensor_proto, &tensor_shape_proto)); in TEST_F()
973 ExpectTensorShape(shape_expected, tensor_shape_proto); in TEST_F()
[all …]
Dop_level_cost_estimator.h28 TensorShapeProto* tensor_shape_proto);
Dop_level_cost_estimator.cc866 TensorShapeProto* tensor_shape_proto) { in GetTensorShapeProtoFromTensorProto() argument
867 tensor_shape_proto->Clear(); in GetTensorShapeProtoFromTensorProto()
892 tensor_shape_proto->add_dim()->set_size(value); \ in GetTensorShapeProtoFromTensorProto()
/external/tensorflow/tensorflow/core/framework/
Dtensor_util.h280 TensorShapeProto tensor_shape_proto;
281 internal::SetTensorProtoShape(shape, &tensor_shape_proto);
282 if (TensorShape(tensor_shape_proto).num_elements() != values.size()) {
289 tensor.mutable_tensor_shape()->Swap(&tensor_shape_proto);
/external/tensorflow/tensorflow/core/kernels/
Dremote_fused_graph_execute_utils.cc632 TensorShapeProto& tensor_shape_proto = *tensor_shape_type.mutable_shape(); in BuildRemoteFusedGraphExecuteInfo() local
634 tensor_shape_proto.add_dim()->set_size(dim); in BuildRemoteFusedGraphExecuteInfo()
657 TensorShapeProto& tensor_shape_proto = in BuildRemoteFusedGraphExecuteInfo() local
660 tensor_shape_proto.add_dim()->set_size(dim); in BuildRemoteFusedGraphExecuteInfo()