Package org.tensorflow.framework
Interface VariableDefOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VariableDef,VariableDef.Builder
public interface VariableDefOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetInitializerName()Name of the initializer op.org.nd4j.shade.protobuf.ByteStringgetInitializerNameBytes()Name of the initializer op.StringgetInitialValueName()Name of the tensor holding the variable's initial value.org.nd4j.shade.protobuf.ByteStringgetInitialValueNameBytes()Name of the tensor holding the variable's initial value.booleangetIsResource()Whether to represent this as a ResourceVariable.SaveSliceInfoDefgetSaveSliceInfoDef()Support for saving variables as slices of a larger variable.SaveSliceInfoDefOrBuildergetSaveSliceInfoDefOrBuilder()Support for saving variables as slices of a larger variable.StringgetSnapshotName()Name of the snapshot tensor.org.nd4j.shade.protobuf.ByteStringgetSnapshotNameBytes()Name of the snapshot tensor.booleangetTrainable()Whether this variable should be trained.StringgetVariableName()Name of the variable tensor.org.nd4j.shade.protobuf.ByteStringgetVariableNameBytes()Name of the variable tensor.booleanhasSaveSliceInfoDef()Support for saving variables as slices of a larger variable.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVariableName
String getVariableName()
Name of the variable tensor.
string variable_name = 1;- Returns:
- The variableName.
-
getVariableNameBytes
org.nd4j.shade.protobuf.ByteString getVariableNameBytes()
Name of the variable tensor.
string variable_name = 1;- Returns:
- The bytes for variableName.
-
getInitialValueName
String getInitialValueName()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;- Returns:
- The initialValueName.
-
getInitialValueNameBytes
org.nd4j.shade.protobuf.ByteString getInitialValueNameBytes()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;- Returns:
- The bytes for initialValueName.
-
getInitializerName
String getInitializerName()
Name of the initializer op.
string initializer_name = 2;- Returns:
- The initializerName.
-
getInitializerNameBytes
org.nd4j.shade.protobuf.ByteString getInitializerNameBytes()
Name of the initializer op.
string initializer_name = 2;- Returns:
- The bytes for initializerName.
-
getSnapshotName
String getSnapshotName()
Name of the snapshot tensor.
string snapshot_name = 3;- Returns:
- The snapshotName.
-
getSnapshotNameBytes
org.nd4j.shade.protobuf.ByteString getSnapshotNameBytes()
Name of the snapshot tensor.
string snapshot_name = 3;- Returns:
- The bytes for snapshotName.
-
hasSaveSliceInfoDef
boolean hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;- Returns:
- Whether the saveSliceInfoDef field is set.
-
getSaveSliceInfoDef
SaveSliceInfoDef getSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;- Returns:
- The saveSliceInfoDef.
-
getSaveSliceInfoDefOrBuilder
SaveSliceInfoDefOrBuilder getSaveSliceInfoDefOrBuilder()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
-
getIsResource
boolean getIsResource()
Whether to represent this as a ResourceVariable.
bool is_resource = 5;- Returns:
- The isResource.
-
getTrainable
boolean getTrainable()
Whether this variable should be trained.
bool trainable = 7;- Returns:
- The trainable.
-
-