public static final enum
SaverDef.CheckpointFormatVersion
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.
tensorflow.SaverDef.CheckpointFormatVersion
Constants
int | LEGACY_VALUE | Internal legacy format. |
int | V1_VALUE | Deprecated format: tf.Saver() which works with tensorflow::table::Table. |
int | V2_VALUE | Current format: more efficient. |
Inherited Methods
final int |
compareTo(SaverDef.CheckpointFormatVersion arg0)
|
int |
compareTo(Object arg0)
|
final boolean |
equals(Object arg0)
|
final Class<SaverDef.CheckpointFormatVersion> |
getDeclaringClass()
|
final int |
hashCode()
|
final String |
name()
|
final int |
ordinal()
|
String |
toString()
|
static <T extends Enum<T>> T |
valueOf(Class<T> arg0, String arg1)
|
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
abstract int |
compareTo(SaverDef.CheckpointFormatVersion arg0)
|
Enum Values
public static final SaverDef.CheckpointFormatVersion LEGACY
Internal legacy format.
LEGACY = 0;
public static final SaverDef.CheckpointFormatVersion UNRECOGNIZED
public static final SaverDef.CheckpointFormatVersion V1
Deprecated format: tf.Saver() which works with tensorflow::table::Table.
V1 = 1;
public static final SaverDef.CheckpointFormatVersion V2
Current format: more efficient.
V2 = 2;
Constants
public static final int LEGACY_VALUE
Internal legacy format.
LEGACY = 0;
Constant Value:
0
public static final int V1_VALUE
Deprecated format: tf.Saver() which works with tensorflow::table::Table.
V1 = 1;
Constant Value:
1
public static final int V2_VALUE
Current format: more efficient.
V2 = 2;
Constant Value:
2