Represents a Variable that is initialized by loading the contents from the checkpoint.
tensorflow.SavedVariable
Public Methods
SavedVariable.Builder |
addAllExperimentalDistributedVariableComponents(Iterable<? extends SavedVariable> values)
List of component variables for a distributed variable. |
SavedVariable.Builder |
addExperimentalDistributedVariableComponents(int index, SavedVariable.Builder builderForValue)
List of component variables for a distributed variable. |
SavedVariable.Builder |
addExperimentalDistributedVariableComponents(SavedVariable.Builder builderForValue)
List of component variables for a distributed variable. |
SavedVariable.Builder |
addExperimentalDistributedVariableComponents(int index, SavedVariable value)
List of component variables for a distributed variable. |
SavedVariable.Builder |
addExperimentalDistributedVariableComponents(SavedVariable value)
List of component variables for a distributed variable. |
SavedVariable.Builder |
addExperimentalDistributedVariableComponentsBuilder(int index)
List of component variables for a distributed variable. |
SavedVariable.Builder |
addExperimentalDistributedVariableComponentsBuilder()
List of component variables for a distributed variable. |
SavedVariable.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SavedVariable |
build()
|
SavedVariable | |
SavedVariable.Builder |
clear()
|
SavedVariable.Builder |
clearAggregation()
.tensorflow.VariableAggregation aggregation = 5;
|
SavedVariable.Builder |
clearDevice()
string device = 7;
|
SavedVariable.Builder |
clearDtype()
.tensorflow.DataType dtype = 1;
|
SavedVariable.Builder |
clearExperimentalDistributedVariableComponents()
List of component variables for a distributed variable. |
SavedVariable.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
SavedVariable.Builder |
clearName()
string name = 6;
|
SavedVariable.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
SavedVariable.Builder |
clearShape()
.tensorflow.TensorShapeProto shape = 2;
|
SavedVariable.Builder |
clearSynchronization()
.tensorflow.VariableSynchronization synchronization = 4;
|
SavedVariable.Builder |
clearTrainable()
bool trainable = 3;
|
SavedVariable.Builder |
clone()
|
VariableAggregation |
getAggregation()
.tensorflow.VariableAggregation aggregation = 5;
|
int |
getAggregationValue()
.tensorflow.VariableAggregation aggregation = 5;
|
SavedVariable | |
final static com.google.protobuf.Descriptors.Descriptor | |
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. |
SavedVariable.Builder |
getExperimentalDistributedVariableComponentsBuilder(int index)
List of component variables for a distributed variable. |
List<SavedVariable.Builder> |
getExperimentalDistributedVariableComponentsBuilderList()
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;
|
TensorShapeProto |
getShape()
.tensorflow.TensorShapeProto shape = 2;
|
TensorShapeProto.Builder |
getShapeBuilder()
.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;
|
boolean |
hasShape()
.tensorflow.TensorShapeProto shape = 2;
|
final boolean | |
SavedVariable.Builder |
mergeFrom(com.google.protobuf.Message other)
|
SavedVariable.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
SavedVariable.Builder | |
final SavedVariable.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
SavedVariable.Builder |
removeExperimentalDistributedVariableComponents(int index)
List of component variables for a distributed variable. |
SavedVariable.Builder | |
SavedVariable.Builder |
setAggregationValue(int value)
.tensorflow.VariableAggregation aggregation = 5;
|
SavedVariable.Builder |
setDevice(String value)
string device = 7;
|
SavedVariable.Builder |
setDeviceBytes(com.google.protobuf.ByteString value)
string device = 7;
|
SavedVariable.Builder | |
SavedVariable.Builder |
setDtypeValue(int value)
.tensorflow.DataType dtype = 1;
|
SavedVariable.Builder |
setExperimentalDistributedVariableComponents(int index, SavedVariable value)
List of component variables for a distributed variable. |
SavedVariable.Builder |
setExperimentalDistributedVariableComponents(int index, SavedVariable.Builder builderForValue)
List of component variables for a distributed variable. |
SavedVariable.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SavedVariable.Builder |
setName(String value)
string name = 6;
|
SavedVariable.Builder |
setNameBytes(com.google.protobuf.ByteString value)
string name = 6;
|
SavedVariable.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
SavedVariable.Builder | |
SavedVariable.Builder | |
SavedVariable.Builder |
setSynchronization(VariableSynchronization value)
.tensorflow.VariableSynchronization synchronization = 4;
|
SavedVariable.Builder |
setSynchronizationValue(int value)
.tensorflow.VariableSynchronization synchronization = 4;
|
SavedVariable.Builder |
setTrainable(boolean value)
bool trainable = 3;
|
final SavedVariable.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public SavedVariable.Builder addAllExperimentalDistributedVariableComponents (Iterable<? extends SavedVariable> values)
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 SavedVariable.Builder addExperimentalDistributedVariableComponents (int index, SavedVariable.Builder builderForValue)
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 SavedVariable.Builder addExperimentalDistributedVariableComponents (SavedVariable.Builder builderForValue)
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 SavedVariable.Builder addExperimentalDistributedVariableComponents (int index, SavedVariable value)
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 SavedVariable.Builder addExperimentalDistributedVariableComponents (SavedVariable value)
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 SavedVariable.Builder addExperimentalDistributedVariableComponentsBuilder (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 SavedVariable.Builder addExperimentalDistributedVariableComponentsBuilder ()
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 SavedVariable.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SavedVariable.Builder clearExperimentalDistributedVariableComponents ()
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 SavedVariable.Builder clearSynchronization ()
.tensorflow.VariableSynchronization synchronization = 4;
public int getAggregationValue ()
.tensorflow.VariableAggregation aggregation = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getDevice ()
string device = 7;
public com.google.protobuf.ByteString getDeviceBytes ()
string device = 7;
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 SavedVariable.Builder getExperimentalDistributedVariableComponentsBuilder (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<SavedVariable.Builder> getExperimentalDistributedVariableComponentsBuilderList ()
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 VariableSynchronization getSynchronization ()
.tensorflow.VariableSynchronization synchronization = 4;
public int getSynchronizationValue ()
.tensorflow.VariableSynchronization synchronization = 4;
public boolean getTrainable ()
bool trainable = 3;
public boolean hasShape ()
.tensorflow.TensorShapeProto shape = 2;
public final boolean isInitialized ()
public SavedVariable.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public SavedVariable.Builder mergeShape (TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
public final SavedVariable.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SavedVariable.Builder removeExperimentalDistributedVariableComponents (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 SavedVariable.Builder setAggregation (VariableAggregation value)
.tensorflow.VariableAggregation aggregation = 5;
public SavedVariable.Builder setAggregationValue (int value)
.tensorflow.VariableAggregation aggregation = 5;
public SavedVariable.Builder setDeviceBytes (com.google.protobuf.ByteString value)
string device = 7;
public SavedVariable.Builder setExperimentalDistributedVariableComponents (int index, SavedVariable value)
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 SavedVariable.Builder setExperimentalDistributedVariableComponents (int index, SavedVariable.Builder builderForValue)
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 SavedVariable.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SavedVariable.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public SavedVariable.Builder setShape (TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
public SavedVariable.Builder setShape (TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
public SavedVariable.Builder setSynchronization (VariableSynchronization value)
.tensorflow.VariableSynchronization synchronization = 4;
public SavedVariable.Builder setSynchronizationValue (int value)
.tensorflow.VariableSynchronization synchronization = 4;