Package org.tensorflow.framework
Interface NamedTensorProtoOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NamedTensorProto
,NamedTensorProto.Builder
public interface NamedTensorProtoOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Name of the tensor.org.nd4j.shade.protobuf.ByteString
getNameBytes()
Name of the tensor.TensorProto
getTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors.TensorProtoOrBuilder
getTensorOrBuilder()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors.boolean
hasTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Name of the tensor.
string name = 1;
- Returns:
- The name.
-
getNameBytes
org.nd4j.shade.protobuf.ByteString getNameBytes()
Name of the tensor.
string name = 1;
- Returns:
- The bytes for name.
-
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;
-
-