VariableDefOrBuilder

public interface VariableDefOrBuilder
Known Indirect Subclasses

Public Methods

abstract VariableAggregation
getAggregation ()
 Indicates how a distributed variable will be aggregated.
abstract int
getAggregationValue ()
 Indicates how a distributed variable will be aggregated.
abstract String
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.
abstract String
getInitializerName ()
 Name of the initializer op.
abstract com.google.protobuf.ByteString
getInitializerNameBytes ()
 Name of the initializer op.
abstract boolean
getIsResource ()
 Whether to represent this as a ResourceVariable.
abstract SaveSliceInfoDef
getSaveSliceInfoDef ()
 Support for saving variables as slices of a larger variable.
abstract SaveSliceInfoDefOrBuilder
getSaveSliceInfoDefOrBuilder ()
 Support for saving variables as slices of a larger variable.
abstract String
getSnapshotName ()
 Name of the snapshot tensor.
abstract com.google.protobuf.ByteString
getSnapshotNameBytes ()
 Name of the snapshot tensor.
abstract VariableSynchronization
getSynchronization ()
 Indicates when a distributed variable will be synced.
abstract int
getSynchronizationValue ()
 Indicates when a distributed variable will be synced.
abstract boolean
getTrainable ()
 Whether this variable should be trained.
abstract String
getVariableName ()
 Name of the variable tensor.
abstract com.google.protobuf.ByteString
getVariableNameBytes ()
 Name of the variable tensor.
abstract boolean
hasSaveSliceInfoDef ()
 Support for saving variables as slices of a larger variable.

Public Methods

public abstract VariableAggregation getAggregation ()

 Indicates how a distributed variable will be aggregated.
 
.tensorflow.VariableAggregation aggregation = 9;

public abstract int getAggregationValue ()

 Indicates how a distributed variable will be aggregated.
 
.tensorflow.VariableAggregation aggregation = 9;

public abstract String getInitialValueName ()

 Name of the tensor holding the variable's initial value.
 
string initial_value_name = 6;

public abstract com.google.protobuf.ByteString getInitialValueNameBytes ()

 Name of the tensor holding the variable's initial value.
 
string initial_value_name = 6;

public abstract String getInitializerName ()

 Name of the initializer op.
 
string initializer_name = 2;

public abstract com.google.protobuf.ByteString getInitializerNameBytes ()

 Name of the initializer op.
 
string initializer_name = 2;

public abstract boolean getIsResource ()

 Whether to represent this as a ResourceVariable.
 
bool is_resource = 5;

public abstract SaveSliceInfoDef getSaveSliceInfoDef ()

 Support for saving variables as slices of a larger variable.
 
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;

public abstract SaveSliceInfoDefOrBuilder getSaveSliceInfoDefOrBuilder ()

 Support for saving variables as slices of a larger variable.
 
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;

public abstract String getSnapshotName ()

 Name of the snapshot tensor.
 
string snapshot_name = 3;

public abstract com.google.protobuf.ByteString getSnapshotNameBytes ()

 Name of the snapshot tensor.
 
string snapshot_name = 3;

public abstract VariableSynchronization getSynchronization ()

 Indicates when a distributed variable will be synced.
 
.tensorflow.VariableSynchronization synchronization = 8;

public abstract int getSynchronizationValue ()

 Indicates when a distributed variable will be synced.
 
.tensorflow.VariableSynchronization synchronization = 8;

public abstract boolean getTrainable ()

 Whether this variable should be trained.
 
bool trainable = 7;

public abstract String getVariableName ()

 Name of the variable tensor.
 
string variable_name = 1;

public abstract com.google.protobuf.ByteString getVariableNameBytes ()

 Name of the variable tensor.
 
string variable_name = 1;

public abstract boolean hasSaveSliceInfoDef ()

 Support for saving variables as slices of a larger variable.
 
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;