public final class
SavedTensorSlices
Each record in a v3 checkpoint file is a serialized SavedTensorSlices message.
tensorflow.SavedTensorSlices
Nested Classes
class | SavedTensorSlices.Builder | Each record in a v3 checkpoint file is a serialized SavedTensorSlices message. |
Constants
int | DATA_FIELD_NUMBER | |
int | META_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
SavedSlice |
getData()
This exists in all but the first item of each checkpoint file. |
SavedSliceOrBuilder |
getDataOrBuilder()
This exists in all but the first item of each checkpoint file. |
static SavedTensorSlices | |
SavedTensorSlices | |
final static com.google.protobuf.Descriptors.Descriptor | |
SavedTensorSliceMeta |
getMeta()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
SavedTensorSliceMetaOrBuilder |
getMetaOrBuilder()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
|
|
int | |
final com.google.protobuf.UnknownFieldSet | |
boolean |
hasData()
This exists in all but the first item of each checkpoint file. |
boolean |
hasMeta()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
int |
hashCode()
|
final boolean | |
static SavedTensorSlices.Builder |
newBuilder(SavedTensorSlices prototype)
|
static SavedTensorSlices.Builder | |
SavedTensorSlices.Builder | |
static SavedTensorSlices |
parseDelimitedFrom(InputStream input)
|
static SavedTensorSlices |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSlices |
parseFrom(ByteBuffer data)
|
static SavedTensorSlices |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSlices |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSlices |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static SavedTensorSlices |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSlices |
parseFrom(com.google.protobuf.ByteString data)
|
static SavedTensorSlices |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSlices |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
SavedTensorSlices.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int DATA_FIELD_NUMBER
Constant Value:
2
public static final int META_FIELD_NUMBER
Constant Value:
1
Public Methods
public boolean equals (Object obj)
public SavedSlice getData ()
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public SavedSliceOrBuilder getDataOrBuilder ()
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public SavedTensorSliceMeta getMeta ()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public SavedTensorSliceMetaOrBuilder getMetaOrBuilder ()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public
getParserForType
()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasData ()
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public boolean hasMeta ()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public int hashCode ()
public final boolean isInitialized ()
public static SavedTensorSlices parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedTensorSlices parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedTensorSlices parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedTensorSlices parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static SavedTensorSlices parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedTensorSlices parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static SavedTensorSlices parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedTensorSlices 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 |
---|