public final class VariableDef
Protocol buffer representing a Variable.
tensorflow.VariableDef
tipo tensorflow.VariableDef
Classes aninhadas
aula | VariableDef.Builder | Protocol buffer representing a Variable. |
Constantes
Métodos Públicos
boleano | igual a (objeto obj) |
VariableAggregation | getAggregation () Indicates how a distributed variable will be aggregated. |
int | getAggregationValue () Indicates how a distributed variable will be aggregated. |
static VariableDef | |
VariableDef | |
final static 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. |
SaveSliceInfoDefOrBuilder | getSaveSliceInfoDefOrBuilder () Support for saving variables as slices of a larger variable. |
int | |
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. |
final com.google.protobuf.UnknownFieldSet | |
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. |
int | hashCode () |
final booleano | |
static VariableDef.Builder | newBuilder (protótipo VariableDef ) |
static VariableDef.Builder | newBuilder () |
VariableDef.Builder | |
static VariableDef | parseDelimitedFrom (input InputStream) |
static VariableDef | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef | parseFrom (dados ByteBuffer) |
static VariableDef | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef | parseFrom (com.google.protobuf.CodedInputStream input) |
static VariableDef | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef | parseFrom (com.google.protobuf.ByteString data) |
static VariableDef | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
VariableDef.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int AGGREGATION_FIELD_NUMBER
Valor constante: 9
public static final int INITIALIZER_NAME_FIELD_NUMBER
Valor constante: 2
público estático final int INITIAL_VALUE_NAME_FIELD_NUMBER
Valor constante: 6
public static final int IS_RESOURCE_FIELD_NUMBER
Valor constante: 5
public static final int SAVE_SLICE_INFO_DEF_FIELD_NUMBER
Valor constante: 4
public static final int SNAPSHOT_NAME_FIELD_NUMBER
Valor Constante: 3
public static final int SYNCHRONIZATION_FIELD_NUMBER
Valor constante: 8
public static final int TRAINABLE_FIELD_NUMBER
Valor constante: 7
public static final int VARIABLE_NAME_FIELD_NUMBER
Valor Constante: 1
Métodos Públicos
public boolean equals (Object obj)
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 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;
público getParserForType ()
public SaveSliceInfoDef getSaveSliceInfoDef ()
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 int getSerializedSize ()
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 final com.google.protobuf.UnknownFieldSet getUnknownFields ()
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 int hashCode ()
public final boolean isInitialized ()
public static VariableDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static VariableDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static VariableDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static VariableDef parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static VariableDef parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static VariableDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static VariableDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|