Interface NamedTensorProtoOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
NamedTensorProto, NamedTensorProto.Builder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Name of the tensor.Name of the tensor.The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors.The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors.booleanThe client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getName
-
getNameBytes
-
hasTensor
boolean hasTensor()The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;- Returns:
- Whether the tensor field is set.
-
getTensor
TensorProto getTensor()The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;- Returns:
- The tensor.
-
getTensorOrBuilder
TensorProtoOrBuilder getTensorOrBuilder()The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. The client specifies whether the returned tensor values should be filled tensor fields (float_val, int_val, etc.) or encoded in a compact form in tensor.tensor_content.
.tensorflow.TensorProto tensor = 2;
-