SavedVariable

public final class SavedVariable

 Represents a Variable that is initialized by loading the contents from the
 checkpoint.
 
Protobuf type tensorflow.SavedVariable

Nested Classes

class SavedVariable.Builder
 Represents a Variable that is initialized by loading the contents from the
 checkpoint. 

Constants

int AGGREGATION_FIELD_NUMBER
int DEVICE_FIELD_NUMBER
int DTYPE_FIELD_NUMBER
int EXPERIMENTAL_DISTRIBUTED_VARIABLE_COMPONENTS_FIELD_NUMBER
int NAME_FIELD_NUMBER
int SHAPE_FIELD_NUMBER
int SYNCHRONIZATION_FIELD_NUMBER
int TRAINABLE_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
VariableAggregation
getAggregation ()
.tensorflow.VariableAggregation aggregation = 5;
int
getAggregationValue ()
.tensorflow.VariableAggregation aggregation = 5;
static SavedVariable
SavedVariable
final static com.google.protobuf.Descriptors.Descriptor
String
getDevice ()
string device = 7;
com.google.protobuf.ByteString
getDeviceBytes ()
string device = 7;
DataType
getDtype ()
.tensorflow.DataType dtype = 1;
int
getDtypeValue ()
.tensorflow.DataType dtype = 1;
SavedVariable
getExperimentalDistributedVariableComponents (int index)
 List of component variables for a distributed variable.
int
getExperimentalDistributedVariableComponentsCount ()
 List of component variables for a distributed variable.
List< SavedVariable >
getExperimentalDistributedVariableComponentsList ()
 List of component variables for a distributed variable.
SavedVariableOrBuilder
getExperimentalDistributedVariableComponentsOrBuilder (int index)
 List of component variables for a distributed variable.
List<? extends SavedVariableOrBuilder >
getExperimentalDistributedVariableComponentsOrBuilderList ()
 List of component variables for a distributed variable.
String
getName ()
string name = 6;
com.google.protobuf.ByteString
getNameBytes ()
string name = 6;
int
TensorShapeProto
getShape ()
.tensorflow.TensorShapeProto shape = 2;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
.tensorflow.TensorShapeProto shape = 2;
VariableSynchronization
getSynchronization ()
.tensorflow.VariableSynchronization synchronization = 4;
int
getSynchronizationValue ()
.tensorflow.VariableSynchronization synchronization = 4;
boolean
getTrainable ()
bool trainable = 3;
final com.google.protobuf.UnknownFieldSet
boolean
hasShape ()
.tensorflow.TensorShapeProto shape = 2;
int
final boolean
static SavedVariable.Builder
static SavedVariable.Builder
SavedVariable.Builder
static SavedVariable
parseDelimitedFrom (InputStream input)
static SavedVariable
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedVariable
parseFrom (ByteBuffer data)
static SavedVariable
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedVariable
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedVariable
parseFrom (com.google.protobuf.CodedInputStream input)
static SavedVariable
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedVariable
parseFrom (com.google.protobuf.ByteString data)
static SavedVariable
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SavedVariable
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
SavedVariable.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int AGGREGATION_FIELD_NUMBER

Constant Value: 5

public static final int DEVICE_FIELD_NUMBER

Constant Value: 7

public static final int DTYPE_FIELD_NUMBER

Constant Value: 1

public static final int EXPERIMENTAL_DISTRIBUTED_VARIABLE_COMPONENTS_FIELD_NUMBER

Constant Value: 8

public static final int NAME_FIELD_NUMBER

Constant Value: 6

public static final int SHAPE_FIELD_NUMBER

Constant Value: 2

public static final int SYNCHRONIZATION_FIELD_NUMBER

Constant Value: 4

public static final int TRAINABLE_FIELD_NUMBER

Constant Value: 3

Public Methods

public boolean equals (Object obj)

public VariableAggregation getAggregation ()

.tensorflow.VariableAggregation aggregation = 5;

public int getAggregationValue ()

.tensorflow.VariableAggregation aggregation = 5;

public static SavedVariable getDefaultInstance ()

public SavedVariable getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()