public static enum SaverDef.CheckpointFormatVersion extends Enum<SaverDef.CheckpointFormatVersion> implements com.google.protobuf.ProtocolMessageEnum
A version number that identifies a different on-disk checkpoint format. Usually, each subclass of BaseSaverBuilder works with a particular version/format. However, it is possible that the same builder may be upgraded to support a newer checkpoint format in the future.Protobuf enum
tensorflow.SaverDef.CheckpointFormatVersion| Enum Constant and Description | 
|---|
LEGACY
 Internal legacy format. 
 | 
UNRECOGNIZED  | 
V1
 Current format: tf.Saver() which works with tensorflow::table::Table. 
 | 
V2
 Experimental format under development. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static int | 
LEGACY_VALUE
 Internal legacy format. 
 | 
static int | 
V1_VALUE
 Current format: tf.Saver() which works with tensorflow::table::Table. 
 | 
static int | 
V2_VALUE
 Experimental format under development. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static SaverDef.CheckpointFormatVersion | 
forNumber(int value)  | 
static com.google.protobuf.Descriptors.EnumDescriptor | 
getDescriptor()  | 
com.google.protobuf.Descriptors.EnumDescriptor | 
getDescriptorForType()  | 
int | 
getNumber()  | 
com.google.protobuf.Descriptors.EnumValueDescriptor | 
getValueDescriptor()  | 
static com.google.protobuf.Internal.EnumLiteMap<SaverDef.CheckpointFormatVersion> | 
internalGetValueMap()  | 
static SaverDef.CheckpointFormatVersion | 
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)  | 
static SaverDef.CheckpointFormatVersion | 
valueOf(int value)
Deprecated. 
 
Use  
forNumber(int) instead. | 
static SaverDef.CheckpointFormatVersion | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static SaverDef.CheckpointFormatVersion[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SaverDef.CheckpointFormatVersion LEGACY
Internal legacy format.
LEGACY = 0;public static final SaverDef.CheckpointFormatVersion V1
Current format: tf.Saver() which works with tensorflow::table::Table.
V1 = 1;public static final SaverDef.CheckpointFormatVersion V2
Experimental format under development.
V2 = 2;public static final SaverDef.CheckpointFormatVersion UNRECOGNIZED
public static final int LEGACY_VALUE
Internal legacy format.
LEGACY = 0;public static final int V1_VALUE
Current format: tf.Saver() which works with tensorflow::table::Table.
V1 = 1;public static final int V2_VALUE
Experimental format under development.
V2 = 2;public static SaverDef.CheckpointFormatVersion[] values()
for (SaverDef.CheckpointFormatVersion c : SaverDef.CheckpointFormatVersion.values()) System.out.println(c);
public static SaverDef.CheckpointFormatVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SaverDef.CheckpointFormatVersion valueOf(int value)
forNumber(int) instead.public static SaverDef.CheckpointFormatVersion forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SaverDef.CheckpointFormatVersion> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SaverDef.CheckpointFormatVersion valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2015–2017. All rights reserved.