public static final class VariableDef.Builder
Protocol buffer representing a Variable.
tensorflow.VariableDef
tipo tensorflow.VariableDef
Métodos Públicos
VariableDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
VariableDef | build () |
VariableDef | buildPartial () |
VariableDef.Builder | limpar () |
VariableDef.Builder | clearAggregation () Indicates how a distributed variable will be aggregated. |
VariableDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
VariableDef.Builder | clearInitialValueName () Name of the tensor holding the variable's initial value. |
VariableDef.Builder | clearInitializerName () Name of the initializer op. |
VariableDef.Builder | clearIsResource () Whether to represent this as a ResourceVariable. |
VariableDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VariableDef.Builder | clearSaveSliceInfoDef () Support for saving variables as slices of a larger variable. |
VariableDef.Builder | clearSnapshotName () Name of the snapshot tensor. |
VariableDef.Builder | clearSynchronization () Indicates when a distributed variable will be synced. |
VariableDef.Builder | clearTrainable () Whether this variable should be trained. |
VariableDef.Builder | clearVariableName () Name of the variable tensor. |
VariableDef.Builder | clone () |
VariableAggregation | getAggregation () Indicates how a distributed variable will be aggregated. |
int | getAggregationValue () Indicates how a distributed variable will be aggregated. |
VariableDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getInitialValueName () Name of the tensor holding the variable's initial value. |
com.google.protobuf.ByteString | getInitialValueNameBytes () Name of the tensor holding the variable's initial value. |
Fragmento | getInitializerName () Name of the initializer op. |
com.google.protobuf.ByteString | getInitializerNameBytes () Name of the initializer op. |
boleano | getIsResource () Whether to represent this as a ResourceVariable. |
SaveSliceInfoDef | getSaveSliceInfoDef () Support for saving variables as slices of a larger variable. |
SaveSliceInfoDef.Builder | getSaveSliceInfoDefBuilder () Support for saving variables as slices of a larger variable. |
SaveSliceInfoDefOrBuilder | getSaveSliceInfoDefOrBuilder () Support for saving variables as slices of a larger variable. |
Fragmento | getSnapshotName () Name of the snapshot tensor. |
com.google.protobuf.ByteString | getSnapshotNameBytes () Name of the snapshot tensor. |
VariableSynchronization | getSynchronization () Indicates when a distributed variable will be synced. |
int | getSynchronizationValue () Indicates when a distributed variable will be synced. |
boleano | getTrainable () Whether this variable should be trained. |
Fragmento | getVariableName () Name of the variable tensor. |
com.google.protobuf.ByteString | getVariableNameBytes () Name of the variable tensor. |
boleano | hasSaveSliceInfoDef () Support for saving variables as slices of a larger variable. |
final booleano | |
VariableDef.Builder | mergeFrom (com.google.protobuf.Message other) |
VariableDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VariableDef.Builder | mergeSaveSliceInfoDef (valor SaveSliceInfoDef ) Support for saving variables as slices of a larger variable. |
final VariableDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
VariableDef.Builder | setAggregation (valor VariableAggregation ) Indicates how a distributed variable will be aggregated. |
VariableDef.Builder | setAggregationValue (valor int) Indicates how a distributed variable will be aggregated. |
VariableDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
VariableDef.Builder | setInitialValueName (valor String) Name of the tensor holding the variable's initial value. |
VariableDef.Builder | setInitialValueNameBytes (com.google.protobuf.ByteString value) Name of the tensor holding the variable's initial value. |
VariableDef.Builder | setInitializerName (valor String) Name of the initializer op. |
VariableDef.Builder | setInitializerNameBytes (com.google.protobuf.ByteString value) Name of the initializer op. |
VariableDef.Builder | setIsResource (valor booleano) Whether to represent this as a ResourceVariable. |
VariableDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
VariableDef.Builder | setSaveSliceInfoDef (valor SaveSliceInfoDef ) Support for saving variables as slices of a larger variable. |
VariableDef.Builder | setSaveSliceInfoDef ( SaveSliceInfoDef.Builder builderForValue) Support for saving variables as slices of a larger variable. |
VariableDef.Builder | setSnapshotName (valor String) Name of the snapshot tensor. |
VariableDef.Builder | setSnapshotNameBytes (com.google.protobuf.ByteString value) Name of the snapshot tensor. |
VariableDef.Builder | setSynchronization (valor VariableSynchronization ) Indicates when a distributed variable will be synced. |
VariableDef.Builder | setSynchronizationValue (valor int) Indicates when a distributed variable will be synced. |
VariableDef.Builder | setTrainable (valor booleano) Whether this variable should be trained. |
final VariableDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
VariableDef.Builder | setVariableName (valor String) Name of the variable tensor. |
VariableDef.Builder | setVariableNameBytes (com.google.protobuf.ByteString value) Name of the variable tensor. |
Métodos herdados
boleano | igual a (objeto arg0) |
aula final <?> | getClass () |
int | hashCode () |
vazio final | notificar () |
vazio final | notificar tudo () |
Fragmento | toString () |
vazio final | espera (long arg0, int arg1) |
vazio final | espera (long arg0) |
vazio final | espera () |
VariableAggregation abstrata | getAggregation () Indicates how a distributed variable will be aggregated. |
abstrato int | getAggregationValue () Indicates how a distributed variable will be aggregated. |
String abstrata | getInitialValueName () Name of the tensor holding the variable's initial value. |
abstract com.google.protobuf.ByteString | getInitialValueNameBytes () Name of the tensor holding the variable's initial value. |
String abstrata | getInitializerName () Name of the initializer op. |
abstract com.google.protobuf.ByteString | getInitializerNameBytes () Name of the initializer op. |
booleano abstrato | getIsResource () Whether to represent this as a ResourceVariable. |
abstrato SaveSliceInfoDef | getSaveSliceInfoDef () Support for saving variables as slices of a larger variable. |
abstrato SaveSliceInfoDefOrBuilder | getSaveSliceInfoDefOrBuilder () Support for saving variables as slices of a larger variable. |
String abstrata | getSnapshotName () Name of the snapshot tensor. |
abstract com.google.protobuf.ByteString | getSnapshotNameBytes () Name of the snapshot tensor. |
VariableSynchronization abstrato | getSynchronization () Indicates when a distributed variable will be synced. |
abstrato int | getSynchronizationValue () Indicates when a distributed variable will be synced. |
booleano abstrato | getTrainable () Whether this variable should be trained. |
String abstrata | getVariableName () Name of the variable tensor. |
abstract com.google.protobuf.ByteString | getVariableNameBytes () Name of the variable tensor. |
booleano abstrato | hasSaveSliceInfoDef () Support for saving variables as slices of a larger variable. |
Métodos Públicos
public VariableDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public VariableDef.Builder clearAggregation ()
Indicates how a distributed variable will be aggregated.
.tensorflow.VariableAggregation aggregation = 9;
public VariableDef.Builder clearInitialValueName ()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;
initial_value_name string initial_value_name = 6;
public VariableDef.Builder clearInitializerName ()
Name of the initializer op.
string initializer_name = 2;
public VariableDef.Builder clearIsResource ()
Whether to represent this as a ResourceVariable.
bool is_resource = 5;
public VariableDef.Builder clearSaveSliceInfoDef ()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
public VariableDef.Builder clearSnapshotName ()
Name of the snapshot tensor.
string snapshot_name = 3;
public VariableDef.Builder clearSynchronization ()
Indicates when a distributed variable will be synced.
.tensorflow.VariableSynchronization synchronization = 8;
public VariableDef.Builder clearTrainable ()
Whether this variable should be trained.
bool trainable = 7;
public VariableDef.Builder clearVariableName ()
Name of the variable tensor.
string variable_name = 1;
public VariableAggregation getAggregation ()
Indicates how a distributed variable will be aggregated.
.tensorflow.VariableAggregation aggregation = 9;
public int getAggregationValue ()
Indicates how a distributed variable will be aggregated.
.tensorflow.VariableAggregation aggregation = 9;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getInitialValueName ()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;
initial_value_name string initial_value_name = 6;
public com.google.protobuf.ByteString getInitialValueNameBytes ()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;
initial_value_name string initial_value_name = 6;
public String getInitializerName ()
Name of the initializer op.
string initializer_name = 2;
public com.google.protobuf.ByteString getInitializerNameBytes ()
Name of the initializer op.
string initializer_name = 2;
public boolean getIsResource ()
Whether to represent this as a ResourceVariable.
bool is_resource = 5;
public SaveSliceInfoDef getSaveSliceInfoDef ()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
public SaveSliceInfoDef.Builder getSaveSliceInfoDefBuilder ()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
public SaveSliceInfoDefOrBuilder getSaveSliceInfoDefOrBuilder ()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
public String getSnapshotName ()
Name of the snapshot tensor.
string snapshot_name = 3;
public com.google.protobuf.ByteString getSnapshotNameBytes ()
Name of the snapshot tensor.
string snapshot_name = 3;
public VariableSynchronization getSynchronization ()
Indicates when a distributed variable will be synced.
.tensorflow.VariableSynchronization synchronization = 8;
public int getSynchronizationValue ()
Indicates when a distributed variable will be synced.
.tensorflow.VariableSynchronization synchronization = 8;
public boolean getTrainable ()
Whether this variable should be trained.
bool trainable = 7;
public String getVariableName ()
Name of the variable tensor.
string variable_name = 1;
public com.google.protobuf.ByteString getVariableNameBytes ()
Name of the variable tensor.
string variable_name = 1;
public boolean hasSaveSliceInfoDef ()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
public final boolean isInitialized ()
public VariableDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public VariableDef.Builder mergeSaveSliceInfoDef (valor SaveSliceInfoDef )
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
public final VariableDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public VariableDef.Builder setAggregation (valor VariableAggregation )
Indicates how a distributed variable will be aggregated.
.tensorflow.VariableAggregation aggregation = 9;
public VariableDef.Builder setAggregationValue (valor int)
Indicates how a distributed variable will be aggregated.
.tensorflow.VariableAggregation aggregation = 9;
public VariableDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public VariableDef.Builder setInitialValueName (valor String)
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;
initial_value_name string initial_value_name = 6;
public VariableDef.Builder setInitialValueNameBytes (com.google.protobuf.ByteString value)
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;
initial_value_name string initial_value_name = 6;
public VariableDef.Builder setInitializerName (String value)
Name of the initializer op.
string initializer_name = 2;
public VariableDef.Builder setInitializerNameBytes (valor com.google.protobuf.ByteString)
Name of the initializer op.
string initializer_name = 2;
public VariableDef.Builder setIsResource (valor booleano)
Whether to represent this as a ResourceVariable.
bool is_resource = 5;
public VariableDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
public VariableDef.Builder setSaveSliceInfoDef (valor SaveSliceInfoDef )
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
public VariableDef.Builder setSaveSliceInfoDef ( SaveSliceInfoDef.Builder builderForValue)
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
public VariableDef.Builder setSnapshotName (String value)
Name of the snapshot tensor.
string snapshot_name = 3;
public VariableDef.Builder setSnapshotNameBytes (valor com.google.protobuf.ByteString)
Name of the snapshot tensor.
string snapshot_name = 3;
public VariableDef.Builder setSynchronization (valor VariableSynchronization )
Indicates when a distributed variable will be synced.
.tensorflow.VariableSynchronization synchronization = 8;
public VariableDef.Builder setSynchronizationValue (valor int)
Indicates when a distributed variable will be synced.
.tensorflow.VariableSynchronization synchronization = 8;
public VariableDef.Builder setTrainable (valor booleano)
Whether this variable should be trained.
bool trainable = 7;
public final VariableDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public VariableDef.Builder setVariableName (String value)
Name of the variable tensor.
string variable_name = 1;
public VariableDef.Builder setVariableNameBytes (valor com.google.protobuf.ByteString)
Name of the variable tensor.
string variable_name = 1;