public interface VariableDefOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
VariableAggregation |
getAggregation()
Indicates how a distributed variable will be aggregated.
|
int |
getAggregationValue()
Indicates how a distributed variable will be aggregated.
|
String |
getInitializerName()
Name of the initializer op.
|
com.google.protobuf.ByteString |
getInitializerNameBytes()
Name of the initializer op.
|
String |
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.
|
boolean |
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.
|
String |
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.
|
boolean |
getTrainable()
Whether this variable should be trained.
|
String |
getVariableName()
Name of the variable tensor.
|
com.google.protobuf.ByteString |
getVariableNameBytes()
Name of the variable tensor.
|
boolean |
hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getVariableName()
Name of the variable tensor.
string variable_name = 1;
com.google.protobuf.ByteString getVariableNameBytes()
Name of the variable tensor.
string variable_name = 1;
String getInitialValueName()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;
com.google.protobuf.ByteString getInitialValueNameBytes()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;
String getInitializerName()
Name of the initializer op.
string initializer_name = 2;
com.google.protobuf.ByteString getInitializerNameBytes()
Name of the initializer op.
string initializer_name = 2;
String getSnapshotName()
Name of the snapshot tensor.
string snapshot_name = 3;
com.google.protobuf.ByteString getSnapshotNameBytes()
Name of the snapshot tensor.
string snapshot_name = 3;
boolean hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
SaveSliceInfoDef getSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
SaveSliceInfoDefOrBuilder getSaveSliceInfoDefOrBuilder()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
boolean getIsResource()
Whether to represent this as a ResourceVariable.
bool is_resource = 5;
boolean getTrainable()
Whether this variable should be trained.
bool trainable = 7;
int getSynchronizationValue()
Indicates when a distributed variable will be synced.
.tensorflow.VariableSynchronization synchronization = 8;
VariableSynchronization getSynchronization()
Indicates when a distributed variable will be synced.
.tensorflow.VariableSynchronization synchronization = 8;
int getAggregationValue()
Indicates how a distributed variable will be aggregated.
.tensorflow.VariableAggregation aggregation = 9;
VariableAggregation getAggregation()
Indicates how a distributed variable will be aggregated.
.tensorflow.VariableAggregation aggregation = 9;
Copyright © 2015–2019. All rights reserved.