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
parser()
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 ()

public String getDevice ()

string device = 7;

public com.google.protobuf.ByteString getDeviceBytes ()

string device = 7;

public DataType getDtype ()

.tensorflow.DataType dtype = 1;

public int getDtypeValue ()

.tensorflow.DataType dtype = 1;

public SavedVariable getExperimentalDistributedVariableComponents (int index)

 List of component variables for a distributed variable.
 When this field is non-empty, the SavedVariable will be assumed
 to be a distributed variable defined by the components listed here.
 This is only supported by experimental loaders at the moment.
 
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8;

public int getExperimentalDistributedVariableComponentsCount ()

 List of component variables for a distributed variable.
 When this field is non-empty, the SavedVariable will be assumed
 to be a distributed variable defined by the components listed here.
 This is only supported by experimental loaders at the moment.
 
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8;

public List<SavedVariable> getExperimentalDistributedVariableComponentsList ()

 List of component variables for a distributed variable.
 When this field is non-empty, the SavedVariable will be assumed
 to be a distributed variable defined by the components listed here.
 This is only supported by experimental loaders at the moment.
 
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8;

public SavedVariableOrBuilder getExperimentalDistributedVariableComponentsOrBuilder (int index)

 List of component variables for a distributed variable.
 When this field is non-empty, the SavedVariable will be assumed
 to be a distributed variable defined by the components listed here.
 This is only supported by experimental loaders at the moment.
 
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8;

public List<? extends SavedVariableOrBuilder> getExperimentalDistributedVariableComponentsOrBuilderList ()

 List of component variables for a distributed variable.
 When this field is non-empty, the SavedVariable will be assumed
 to be a distributed variable defined by the components listed here.
 This is only supported by experimental loaders at the moment.
 
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8;

public String getName ()

string name = 6;

public com.google.protobuf.ByteString getNameBytes ()

string name = 6;

public getParserForType ()

public int getSerializedSize ()

public TensorShapeProto getShape ()

.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProtoOrBuilder getShapeOrBuilder ()

.tensorflow.TensorShapeProto shape = 2;

public VariableSynchronization getSynchronization ()

.tensorflow.VariableSynchronization synchronization = 4;

public int getSynchronizationValue ()

.tensorflow.VariableSynchronization synchronization = 4;

public boolean getTrainable ()

bool trainable = 3;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public boolean hasShape ()

.tensorflow.TensorShapeProto shape = 2;

public int hashCode ()

public final boolean isInitialized ()

public static SavedVariable.Builder newBuilder (SavedVariable prototype)

public static SavedVariable.Builder newBuilder ()

public SavedVariable.Builder newBuilderForType ()

public static SavedVariable parseDelimitedFrom (InputStream input)

Throws
IOException

public static SavedVariable parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SavedVariable parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static SavedVariable parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SavedVariable parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static SavedVariable parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static SavedVariable parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static SavedVariable parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static SavedVariable parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SavedVariable parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public SavedVariable.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException