public final class
NamedTensorProto
A pair of tensor name and tensor values.
tensorflow.NamedTensorProto
Nested Classes
| class | NamedTensorProto.Builder | A pair of tensor name and tensor values. |
|
Constants
| int | NAME_FIELD_NUMBER | |
| int | TENSOR_FIELD_NUMBER |
Public Methods
| boolean |
equals(Object obj)
|
| static NamedTensorProto | |
| NamedTensorProto | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| String |
getName()
Name of the tensor. |
| com.google.protobuf.ByteString |
getNameBytes()
Name of the tensor. |
|
|
|
| int | |
| 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. |
| final com.google.protobuf.UnknownFieldSet | |
| boolean |
hasTensor()
The client can populate a TensorProto using a tensorflow::Tensor`, or directly using the protobuf field accessors. |
| int |
hashCode()
|
| final boolean | |
| static NamedTensorProto.Builder |
newBuilder(NamedTensorProto prototype)
|
| static NamedTensorProto.Builder | |
| NamedTensorProto.Builder | |
| static NamedTensorProto |
parseDelimitedFrom(InputStream input)
|
| static NamedTensorProto |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static NamedTensorProto |
parseFrom(ByteBuffer data)
|
| static NamedTensorProto |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static NamedTensorProto |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static NamedTensorProto |
parseFrom(com.google.protobuf.CodedInputStream input)
|
| static NamedTensorProto |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static NamedTensorProto |
parseFrom(com.google.protobuf.ByteString data)
|
| static NamedTensorProto |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static NamedTensorProto |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
static
|
parser()
|
| NamedTensorProto.Builder | |
| void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int NAME_FIELD_NUMBER
Constant Value:
1
public static final int TENSOR_FIELD_NUMBER
Constant Value:
2
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getName ()
Name of the tensor.
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Name of the tensor.
string name = 1;
public
getParserForType
()
public int getSerializedSize ()
public 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;
public 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;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public 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;
public int hashCode ()
public final boolean isInitialized ()
public static NamedTensorProto parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static NamedTensorProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static NamedTensorProto parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static NamedTensorProto parseFrom (com.google.protobuf.CodedInputStream input)
Throws
| IOException |
|---|
public static NamedTensorProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static NamedTensorProto parseFrom (com.google.protobuf.ByteString data)
Throws
| InvalidProtocolBufferException |
|---|
public static NamedTensorProto parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static NamedTensorProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
| IOException |
|---|