/external/tensorflow/tensorflow/core/framework/ |
D | resource_handle.cc | 30 void ResourceHandle::AsProto(ResourceHandleProto* proto) const { in AsProto() function in tensorflow::ResourceHandle 39 dtype_and_shape_pair.shape.AsProto(dtype_and_shape->mutable_shape()); in AsProto() 60 AsProto(&proto); in SerializeAsString() 85 p[i].AsProto(&proto); in EncodeResourceHandleList()
|
D | tensor_slice_test.cc | 71 s.AsProto(&proto); in TEST() 106 s.AsProto(&proto); in TEST()
|
D | variant_op_copy_test.cc | 178 scalar_shape.AsProto(variant_proto.mutable_tensor_shape()); in TEST() 212 scalar_shape.AsProto(variant_proto.mutable_tensor_shape()); in TEST() 255 scalar_shape.AsProto(variant_proto.mutable_tensor_shape()); in TEST()
|
D | attr_value_util.cc | 514 value.AsProto(out->mutable_shape()); in SetAttrValue() 522 value.AsProto(out->mutable_shape()); in SetAttrValue() 528 v.AsProto(out->mutable_list()->add_shape()); in SetAttrValue() 543 v.AsProto(out->mutable_list()->add_shape()); in SetAttrValue()
|
D | resource_handle.h | 85 void AsProto(ResourceHandleProto* proto) const;
|
D | tensor_shape_test.cc | 313 void AsProto(TensorShapeProto* proto) const; 487 void TensorShapeOld::AsProto(TensorShapeProto* proto) const { in AsProto() function in tensorflow::__anon127dd62f0111::TensorShapeOld 548 s.AsProto(&sp); in TEST() 549 sold.AsProto(&spold); in TEST()
|
D | tensor_slice.h | 112 void AsProto(TensorSliceProto* proto) const;
|
D | tensor_slice.cc | 113 void TensorSlice::AsProto(TensorSliceProto* proto) const { in AsProto() function in tensorflow::TensorSlice
|
D | tensor.cc | 377 data[i].AsProto(handles->Add()); in Fill() 946 shape_.AsProto(proto->mutable_tensor_shape()); in AsProtoField() 956 shape_.AsProto(proto->mutable_tensor_shape()); in AsProtoTensorContent() 1263 shape().AsProto(description->mutable_shape()); in FillDescription()
|
/external/tensorflow/tensorflow/c/experimental/saved_model/core/ |
D | saved_variable_loading_test.cc | 69 shape.AsProto(saved_variable.mutable_shape()); in TEST_P() 86 shape.AsProto(saved_variable.mutable_shape()); in TEST_P() 103 shape.AsProto(saved_variable.mutable_shape()); in TEST_P()
|
/external/tensorflow/tensorflow/core/util/ |
D | tensor_slice_writer.h | 131 shape.AsProto(ssm->mutable_shape()); in Add() 136 slice.AsProto(ssm->add_slice()); in Add() 143 slice.AsProto(ss->mutable_slice()); in Add()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | encapsulate_util_test.cc | 50 output_shapes[0].AsProto(&shape_proto); in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | ragged_tensor_to_tensor_op.cc | 143 c->input(kValueInputIndex).shape().AsProto(&value_shape_proto); in CalculateOutputSize() 148 .AsProto(&default_value_shape_proto); in CalculateOutputSize() 159 partial_tensor_shape.AsProto(&shape_proto); in CalculateOutputSize()
|
D | tensor_list.cc | 49 element_shape.AsProto(&element_shape_proto); in Encode()
|
/external/tensorflow/tensorflow/core/data/ |
D | compression_utils.cc | 53 component.shape().AsProto(metadata->mutable_tensor_shape()); in CompressElement()
|
/external/tensorflow/tensorflow/cc/ops/ |
D | const_op_test.cc | 107 TensorShape({2, 2}).AsProto(proto.mutable_tensor_shape()); in TEST()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_tensor_coding.cc | 127 val.shape().AsProto(skeleton.mutable_tensor_shape()); in EncodeSkeleton()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/ |
D | trt_engine_resource_ops.cc | 216 shape.AsProto(engine_instance.add_input_shapes()); in Compute()
|
/external/tensorflow/tensorflow/core/distributed_runtime/eager/ |
D | remote_mgr.cc | 148 dtype_and_shape.shape.AsProto(dtype_and_shape_proto->mutable_shape()); in SerializeRemoteTensorHandle()
|
D | eager_service_impl.cc | 162 t->shape().AsProto(proto); in TensorHandleShape() 166 shape.AsProto(proto); in TensorHandleShape()
|
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
D | tensor_bundle.cc | 450 val.shape().AsProto(entry->mutable_shape()); in Add() 505 full_tensor_shape.AsProto(full_entry->mutable_shape()); in AddSlice() 507 slice_spec.AsProto(slice_proto); in AddSlice()
|
/external/webrtc/audio/test/ |
D | low_bandwidth_audio_test.py | 331 f.write(histograms.AsProto().SerializeToString())
|
/external/tensorflow/tensorflow/core/ops/ |
D | array_ops_test.cc | 179 TensorShape{}.AsProto(shape_proto); in TEST() 182 TensorShape{1, 2, 3, 4}.AsProto(shape_proto); in TEST() 1848 shape.AsProto(&shape_proto); in TEST()
|
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/ |
D | distributed_tpu_rewrite_pass.cc | 685 sizes_shape.AsProto(sizes_tensor_proto.mutable_tensor_shape()); in CreatePadNode() 741 shape.AsProto(tensor_proto.mutable_tensor_shape()); in CreateSplitNode() 921 shape.AsProto(tensor_proto.mutable_tensor_shape()); in CreateConcatNode() 973 begin_shape.AsProto(begin_tensor_proto.mutable_tensor_shape()); in CreateSliceNode() 991 sizes_shape.AsProto(sizes_tensor_proto.mutable_tensor_shape()); in CreateSliceNode() 2369 arg_shape.handle_shape.AsProto(arg->mutable_shape()); in BuildCompileNode() 2374 arg_shape.shape.AsProto(arg->mutable_shape()); in BuildCompileNode() 2721 shape_shape.AsProto(tensorshape_proto.mutable_tensor_shape()); in CreatePerHostDummyArgs() 2746 scalar_shape.AsProto(tensor_proto.mutable_tensor_shape()); in CreatePerHostDummyArgs()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_util.cc | 141 tensor.shape().AsProto(proto->mutable_tensor_shape()); in SetProtoFromGPU()
|