public final class
TensorMetadata
Metadata for a single tensor in the Snapshot Record.
tensorflow.data.experimental.TensorMetadata
Nested Classes
| class | TensorMetadata.Builder | Metadata for a single tensor in the Snapshot Record. |
|
Constants
| int | TENSOR_SHAPE_FIELD_NUMBER | |
| int | TENSOR_SIZE_BYTES_FIELD_NUMBER |
Public Methods
| boolean |
equals(Object obj)
|
| static TensorMetadata | |
| TensorMetadata | |
| final static com.google.protobuf.Descriptors.Descriptor | |
|
|
|
| int | |
| TensorShapeProto |
getTensorShape()
.tensorflow.TensorShapeProto tensor_shape = 2;
|
| TensorShapeProtoOrBuilder |
getTensorShapeOrBuilder()
.tensorflow.TensorShapeProto tensor_shape = 2;
|
| long |
getTensorSizeBytes()
Number of uncompressed bytes used to store the tensor representation. |
| final com.google.protobuf.UnknownFieldSet | |
| boolean |
hasTensorShape()
.tensorflow.TensorShapeProto tensor_shape = 2;
|
| int |
hashCode()
|
| final boolean | |
| static TensorMetadata.Builder | |
| static TensorMetadata.Builder |
newBuilder(TensorMetadata prototype)
|
| TensorMetadata.Builder | |
| static TensorMetadata |
parseDelimitedFrom(InputStream input)
|
| static TensorMetadata |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static TensorMetadata |
parseFrom(ByteBuffer data)
|
| static TensorMetadata |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static TensorMetadata |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static TensorMetadata |
parseFrom(com.google.protobuf.CodedInputStream input)
|
| static TensorMetadata |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static TensorMetadata |
parseFrom(com.google.protobuf.ByteString data)
|
| static TensorMetadata |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static TensorMetadata |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
static
|
parser()
|
| TensorMetadata.Builder | |
| void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int TENSOR_SHAPE_FIELD_NUMBER
Constant Value:
2
public static final int TENSOR_SIZE_BYTES_FIELD_NUMBER
Constant Value:
3
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public
getParserForType
()
public int getSerializedSize ()
public TensorShapeProtoOrBuilder getTensorShapeOrBuilder ()
.tensorflow.TensorShapeProto tensor_shape = 2;
public long getTensorSizeBytes ()
Number of uncompressed bytes used to store the tensor representation.
int64 tensor_size_bytes = 3;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasTensorShape ()
.tensorflow.TensorShapeProto tensor_shape = 2;
public int hashCode ()
public final boolean isInitialized ()
public static TensorMetadata parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static TensorMetadata parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static TensorMetadata parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static TensorMetadata parseFrom (com.google.protobuf.CodedInputStream input)
Throws
| IOException |
|---|
public static TensorMetadata parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static TensorMetadata parseFrom (com.google.protobuf.ByteString data)
Throws
| InvalidProtocolBufferException |
|---|
public static TensorMetadata parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static TensorMetadata 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 |
|---|