public final class
SavedTensorSliceMeta
Metadata describing the set of tensor slices saved in a checkpoint file. It is always stored at the beginning of each checkpoint file.
tensorflow.SavedTensorSliceMeta
Nested Classes
class | SavedTensorSliceMeta.Builder | Metadata describing the set of tensor slices saved in a checkpoint file. |
Constants
int | TENSOR_FIELD_NUMBER | |
int | VERSIONS_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
static SavedTensorSliceMeta | |
SavedTensorSliceMeta | |
final static com.google.protobuf.Descriptors.Descriptor | |
|
|
int | |
SavedSliceMeta |
getTensor(int index)
Each SavedSliceMeta describes the slices for one tensor. |
int |
getTensorCount()
Each SavedSliceMeta describes the slices for one tensor. |
List<SavedSliceMeta> |
getTensorList()
Each SavedSliceMeta describes the slices for one tensor. |
SavedSliceMetaOrBuilder |
getTensorOrBuilder(int index)
Each SavedSliceMeta describes the slices for one tensor. |
List<? extends SavedSliceMetaOrBuilder> |
getTensorOrBuilderList()
Each SavedSliceMeta describes the slices for one tensor. |
final com.google.protobuf.UnknownFieldSet | |
VersionDef |
getVersions()
Compatibility version of this checkpoint. |
VersionDefOrBuilder |
getVersionsOrBuilder()
Compatibility version of this checkpoint. |
boolean |
hasVersions()
Compatibility version of this checkpoint. |
int |
hashCode()
|
final boolean | |
static SavedTensorSliceMeta.Builder |
newBuilder(SavedTensorSliceMeta prototype)
|
static SavedTensorSliceMeta.Builder | |
SavedTensorSliceMeta.Builder | |
static SavedTensorSliceMeta |
parseDelimitedFrom(InputStream input)
|
static SavedTensorSliceMeta |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSliceMeta |
parseFrom(ByteBuffer data)
|
static SavedTensorSliceMeta |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSliceMeta |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSliceMeta |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static SavedTensorSliceMeta |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSliceMeta |
parseFrom(com.google.protobuf.ByteString data)
|
static SavedTensorSliceMeta |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedTensorSliceMeta |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
SavedTensorSliceMeta.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int TENSOR_FIELD_NUMBER
Constant Value:
1
public static final int VERSIONS_FIELD_NUMBER
Constant Value:
2
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public
getParserForType
()
public int getSerializedSize ()
public SavedSliceMeta getTensor (int index)
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;
public int getTensorCount ()
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;
public List<SavedSliceMeta> getTensorList ()
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;
public SavedSliceMetaOrBuilder getTensorOrBuilder (int index)
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;
public List<? extends SavedSliceMetaOrBuilder> getTensorOrBuilderList ()
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public VersionDef getVersions ()
Compatibility version of this checkpoint. See core/public/version.h for version history.
.tensorflow.VersionDef versions = 2;
public VersionDefOrBuilder getVersionsOrBuilder ()
Compatibility version of this checkpoint. See core/public/version.h for version history.
.tensorflow.VersionDef versions = 2;
public boolean hasVersions ()
Compatibility version of this checkpoint. See core/public/version.h for version history.
.tensorflow.VersionDef versions = 2;
public int hashCode ()
public final boolean isInitialized ()
public static SavedTensorSliceMeta parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedTensorSliceMeta parseFrom (ByteBuffer data)
Throws
InvalidProtocolBufferException |
---|
public static SavedTensorSliceMeta parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedTensorSliceMeta parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedTensorSliceMeta parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static SavedTensorSliceMeta parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedTensorSliceMeta parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static SavedTensorSliceMeta parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedTensorSliceMeta 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 |
---|