public final class SavedTensorSliceMeta extends com.google.protobuf.GeneratedMessageV3 implements SavedTensorSliceMetaOrBuilder
Metadata describing the set of tensor slices saved in a checkpoint file. It is always stored at the beginning of each checkpoint file.Protobuf type
tensorflow.SavedTensorSliceMeta| Modifier and Type | Class and Description |
|---|---|
static class |
SavedTensorSliceMeta.Builder
Metadata describing the set of tensor slices saved in a checkpoint file.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
TENSOR_FIELD_NUMBER |
static int |
VERSIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static SavedTensorSliceMeta |
getDefaultInstance() |
SavedTensorSliceMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<SavedTensorSliceMeta> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
VersionDef |
getVersions()
Compatibility version of this checkpoint.
|
VersionDefOrBuilder |
getVersionsOrBuilder()
Compatibility version of this checkpoint.
|
int |
hashCode() |
boolean |
hasVersions()
Compatibility version of this checkpoint.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SavedTensorSliceMeta.Builder |
newBuilder() |
static SavedTensorSliceMeta.Builder |
newBuilder(SavedTensorSliceMeta prototype) |
SavedTensorSliceMeta.Builder |
newBuilderForType() |
protected SavedTensorSliceMeta.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static SavedTensorSliceMeta |
parseDelimitedFrom(InputStream input) |
static SavedTensorSliceMeta |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedTensorSliceMeta |
parseFrom(byte[] data) |
static SavedTensorSliceMeta |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedTensorSliceMeta |
parseFrom(ByteBuffer data) |
static SavedTensorSliceMeta |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedTensorSliceMeta |
parseFrom(com.google.protobuf.ByteString data) |
static SavedTensorSliceMeta |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedTensorSliceMeta |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SavedTensorSliceMeta |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedTensorSliceMeta |
parseFrom(InputStream input) |
static SavedTensorSliceMeta |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SavedTensorSliceMeta> |
parser() |
SavedTensorSliceMeta.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TENSOR_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<SavedSliceMeta> getTensorList()
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;getTensorList in interface SavedTensorSliceMetaOrBuilderpublic List<? extends SavedSliceMetaOrBuilder> getTensorOrBuilderList()
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;getTensorOrBuilderList in interface SavedTensorSliceMetaOrBuilderpublic int getTensorCount()
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;getTensorCount in interface SavedTensorSliceMetaOrBuilderpublic SavedSliceMeta getTensor(int index)
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;getTensor in interface SavedTensorSliceMetaOrBuilderpublic SavedSliceMetaOrBuilder getTensorOrBuilder(int index)
Each SavedSliceMeta describes the slices for one tensor.
repeated .tensorflow.SavedSliceMeta tensor = 1;getTensorOrBuilder in interface SavedTensorSliceMetaOrBuilderpublic boolean hasVersions()
Compatibility version of this checkpoint. See core/public/version.h for version history.
.tensorflow.VersionDef versions = 2;hasVersions in interface SavedTensorSliceMetaOrBuilderpublic VersionDef getVersions()
Compatibility version of this checkpoint. See core/public/version.h for version history.
.tensorflow.VersionDef versions = 2;getVersions in interface SavedTensorSliceMetaOrBuilderpublic VersionDefOrBuilder getVersionsOrBuilder()
Compatibility version of this checkpoint. See core/public/version.h for version history.
.tensorflow.VersionDef versions = 2;getVersionsOrBuilder in interface SavedTensorSliceMetaOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SavedTensorSliceMeta parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedTensorSliceMeta parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedTensorSliceMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedTensorSliceMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedTensorSliceMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedTensorSliceMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedTensorSliceMeta parseFrom(InputStream input) throws IOException
IOExceptionpublic static SavedTensorSliceMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SavedTensorSliceMeta parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SavedTensorSliceMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SavedTensorSliceMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SavedTensorSliceMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SavedTensorSliceMeta.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SavedTensorSliceMeta.Builder newBuilder()
public static SavedTensorSliceMeta.Builder newBuilder(SavedTensorSliceMeta prototype)
public SavedTensorSliceMeta.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SavedTensorSliceMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SavedTensorSliceMeta getDefaultInstance()
public static com.google.protobuf.Parser<SavedTensorSliceMeta> parser()
public com.google.protobuf.Parser<SavedTensorSliceMeta> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SavedTensorSliceMeta getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2015–2019. All rights reserved.