SavedVariable.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static final class SavedVariable.Builder

 Represents a Variable that is initialized by loading the contents from the
 checkpoint.
 
Protobuf type 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
mergeShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
final SavedVariable.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SavedVariable.Builder
removeExperimentalDistributedVariableComponents(int index)
 List of component variables for a distributed variable.
SavedVariable.Builder
setAggregation(VariableAggregation value)
.tensorflow.VariableAggregation aggregation = 5;
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
setDtype(DataType value)
.tensorflow.DataType dtype = 1;
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
setShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 2;
SavedVariable.Builder
setShape(TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
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