SavedVariable.Builder

classe final pública estática SavedVariable.Builder

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

Métodos Públicos

SavedVariable.Builder
addAllExperimentalDistributedVariableComponents (Iterable <? extends SavedVariable > valores)
 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 (valor SavedVariable )
 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
SavedVariable
build ()
SavedVariable
SavedVariable.Builder
limpar ()
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 (campo com.google.protobuf.Descriptors.FieldDescriptor)
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
Fragmento
getDevice ()
string device = 7;
com.google.protobuf.ByteString
getDeviceBytes ()
string device = 7;
Tipo de dados
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.
Listar < SavedVariable.Builder >
getExperimentalDistributedVariableComponentsBuilderList ()
 List of component variables for a distributed variable.
int
getExperimentalDistributedVariableComponentsCount ()
 List of component variables for a distributed variable.
Lista < SavedVariable >
getExperimentalDistributedVariableComponentsList ()
 List of component variables for a distributed variable.
SavedVariableOrBuilder
getExperimentalDistributedVariableComponentsOrBuilder (int index)
 List of component variables for a distributed variable.
Lista <? estende SavedVariableOrBuilder >
getExperimentalDistributedVariableComponentsOrBuilderList ()
 List of component variables for a distributed variable.
Fragmento
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;
boleano
getTrainable ()
bool trainable = 3;
boleano
hasShape ()
.tensorflow.TensorShapeProto shape = 2;
final booleano
SavedVariable.Builder
mergeFrom (com.google.protobuf.Message other)
SavedVariable.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SavedVariable.Builder
mergeShape (valor TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
SavedVariable.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
SavedVariable.Builder
removeExperimentalDistributedVariableComponents (int index)
 List of component variables for a distributed variable.
SavedVariable.Builder
setAggregation (valor VariableAggregation )
.tensorflow.VariableAggregation aggregation = 5;
SavedVariable.Builder
setAggregationValue (valor int)
.tensorflow.VariableAggregation aggregation = 5;
SavedVariable.Builder
setDevice (valor String)
string device = 7;
SavedVariable.Builder
setDeviceBytes (valor com.google.protobuf.ByteString)
string device = 7;
SavedVariable.Builder
setDtype (valor DataType )
.tensorflow.DataType dtype = 1;
SavedVariable.Builder
setDtypeValue (valor int)
.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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
SavedVariable.Builder
setName (valor String)
string name = 6;
SavedVariable.Builder
setNameBytes (com.google.protobuf.ByteString value)
string name = 6;
SavedVariable.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
SavedVariable.Builder
setShape (valor TensorShapeProto )
.tensorflow.TensorShapeProto shape = 2;
SavedVariable.Builder
setShape ( TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 2;
SavedVariable.Builder
setSynchronization (valor VariableSynchronization )
.tensorflow.VariableSynchronization synchronization = 4;
SavedVariable.Builder
setSynchronizationValue (valor int)
.tensorflow.VariableSynchronization synchronization = 4;
SavedVariable.Builder
setTrainable (valor booleano)
bool trainable = 3;
SavedVariable.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Métodos herdados

Métodos Públicos

public SavedVariable.Builder addAllExperimentalDistributedVariableComponents (Iterable <? extends SavedVariable > valores)

 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 (valor SavedVariable )

 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 (índice int)

 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

construção public SavedVariable ()

public SavedVariable buildPartial ()

public SavedVariable.Builder clear ()

public SavedVariable.Builder clearAggregation ()

.tensorflow.VariableAggregation aggregation = 5;

public SavedVariable.Builder clearDevice ()

string device = 7;

public SavedVariable.Builder clearDtype ()

.tensorflow.DataType dtype = 1;

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 clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

public SavedVariable.Builder clearName ()

string name = 6;

public SavedVariable.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public SavedVariable.Builder clearShape ()

.tensorflow.TensorShapeProto shape = 2;

public SavedVariable.Builder clearSynchronization ()

.tensorflow.VariableSynchronization synchronization = 4;

public SavedVariable.Builder clearTrainable ()

bool trainable = 3;

clone public SavedVariable.Builder ()

public VariableAggregation getAggregation ()

.tensorflow.VariableAggregation aggregation = 5;

public int getAggregationValue ()

.tensorflow.VariableAggregation aggregation = 5;

public SavedVariable getDefaultInstanceForType ()

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 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 SavedVariable.Builder getExperimentalDistributedVariableComponentsBuilder (índice int)

 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 (índice interno )

 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;

Lista pública <? estende 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 TensorShapeProto getShape ()

.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProto.Builder getShapeBuilder ()

.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 boolean hasShape ()

.tensorflow.TensorShapeProto shape = 2;

public final boolean isInitialized ()

public SavedVariable.Builder mergeFrom (com.google.protobuf.Message other)

public SavedVariable.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public SavedVariable.Builder mergeShape (valor TensorShapeProto )

.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 (valor VariableAggregation )

.tensorflow.VariableAggregation aggregation = 5;

public SavedVariable.Builder setAggregationValue (valor int)

.tensorflow.VariableAggregation aggregation = 5;

public SavedVariable.Builder setDevice (String value)

string device = 7;

public SavedVariable.Builder setDeviceBytes (valor com.google.protobuf.ByteString)

string device = 7;

public SavedVariable.Builder setDtype (valor DataType )

.tensorflow.DataType dtype = 1;

public SavedVariable.Builder setDtypeValue (valor int)

.tensorflow.DataType dtype = 1;

public SavedVariable.Builder setExperimentalDistributedVariableComponents (índice int, valor SavedVariable )

 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

pública SavedVariable.Builder setName (String value)

string name = 6;

public SavedVariable.Builder setNameBytes (com.google.protobuf.ByteString value)

string name = 6;

public SavedVariable.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)

public SavedVariable.Builder setShape (valor TensorShapeProto )

.tensorflow.TensorShapeProto shape = 2;

public SavedVariable.Builder setShape ( TensorShapeProto.Builder builderForValue)

.tensorflow.TensorShapeProto shape = 2;

public SavedVariable.Builder setSynchronization (valor VariableSynchronization )

.tensorflow.VariableSynchronization synchronization = 4;

public SavedVariable.Builder setSynchronizationValue (valor int)

.tensorflow.VariableSynchronization synchronization = 4;

public SavedVariable.Builder setTrainable (valor booleano)

bool trainable = 3;

public final SavedVariable.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)