public static final class VariableDef.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder> implements VariableDefOrBuilder
Protocol buffer representing a Variable.Protobuf type
tensorflow.VariableDef| Modifier and Type | Method and Description |
|---|---|
VariableDef.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VariableDef |
build() |
VariableDef |
buildPartial() |
VariableDef.Builder |
clear() |
VariableDef.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
VariableDef.Builder |
clearInitializerName()
Name of the initializer op.
|
VariableDef.Builder |
clearInitialValueName()
Name of the tensor holding the variable's initial value.
|
VariableDef.Builder |
clearIsResource()
Whether to represent this as a ResourceVariable.
|
VariableDef.Builder |
clearOneof(org.nd4j.shade.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 |
clearTrainable()
Whether this variable should be trained.
|
VariableDef.Builder |
clearVariableName()
Name of the variable tensor.
|
VariableDef.Builder |
clone() |
VariableDef |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInitializerName()
Name of the initializer op.
|
org.nd4j.shade.protobuf.ByteString |
getInitializerNameBytes()
Name of the initializer op.
|
String |
getInitialValueName()
Name of the tensor holding the variable's initial value.
|
org.nd4j.shade.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.
|
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.
|
String |
getSnapshotName()
Name of the snapshot tensor.
|
org.nd4j.shade.protobuf.ByteString |
getSnapshotNameBytes()
Name of the snapshot tensor.
|
boolean |
getTrainable()
Whether this variable should be trained.
|
String |
getVariableName()
Name of the variable tensor.
|
org.nd4j.shade.protobuf.ByteString |
getVariableNameBytes()
Name of the variable tensor.
|
boolean |
hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VariableDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
VariableDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
VariableDef.Builder |
mergeFrom(VariableDef other) |
VariableDef.Builder |
mergeSaveSliceInfoDef(SaveSliceInfoDef value)
Support for saving variables as slices of a larger variable.
|
VariableDef.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
VariableDef.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VariableDef.Builder |
setInitializerName(String value)
Name of the initializer op.
|
VariableDef.Builder |
setInitializerNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the initializer op.
|
VariableDef.Builder |
setInitialValueName(String value)
Name of the tensor holding the variable's initial value.
|
VariableDef.Builder |
setInitialValueNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the tensor holding the variable's initial value.
|
VariableDef.Builder |
setIsResource(boolean value)
Whether to represent this as a ResourceVariable.
|
VariableDef.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VariableDef.Builder |
setSaveSliceInfoDef(SaveSliceInfoDef.Builder builderForValue)
Support for saving variables as slices of a larger variable.
|
VariableDef.Builder |
setSaveSliceInfoDef(SaveSliceInfoDef value)
Support for saving variables as slices of a larger variable.
|
VariableDef.Builder |
setSnapshotName(String value)
Name of the snapshot tensor.
|
VariableDef.Builder |
setSnapshotNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the snapshot tensor.
|
VariableDef.Builder |
setTrainable(boolean value)
Whether this variable should be trained.
|
VariableDef.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
VariableDef.Builder |
setVariableName(String value)
Name of the variable tensor.
|
VariableDef.Builder |
setVariableNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the variable tensor.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic VariableDef build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic VariableDef buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic VariableDef.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<VariableDef.Builder>public VariableDef.Builder mergeFrom(VariableDef other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public VariableDef.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<VariableDef.Builder>IOExceptionpublic String getVariableName()
Name of the variable tensor.
string variable_name = 1;getVariableName in interface VariableDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getVariableNameBytes()
Name of the variable tensor.
string variable_name = 1;getVariableNameBytes in interface VariableDefOrBuilderpublic VariableDef.Builder setVariableName(String value)
Name of the variable tensor.
string variable_name = 1;public VariableDef.Builder clearVariableName()
Name of the variable tensor.
string variable_name = 1;public VariableDef.Builder setVariableNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the variable tensor.
string variable_name = 1;public String getInitialValueName()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;getInitialValueName in interface VariableDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getInitialValueNameBytes()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;getInitialValueNameBytes in interface VariableDefOrBuilderpublic VariableDef.Builder setInitialValueName(String value)
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;public VariableDef.Builder clearInitialValueName()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;public VariableDef.Builder setInitialValueNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;public String getInitializerName()
Name of the initializer op.
string initializer_name = 2;getInitializerName in interface VariableDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getInitializerNameBytes()
Name of the initializer op.
string initializer_name = 2;getInitializerNameBytes in interface VariableDefOrBuilderpublic VariableDef.Builder setInitializerName(String value)
Name of the initializer op.
string initializer_name = 2;public VariableDef.Builder clearInitializerName()
Name of the initializer op.
string initializer_name = 2;public VariableDef.Builder setInitializerNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the initializer op.
string initializer_name = 2;public String getSnapshotName()
Name of the snapshot tensor.
string snapshot_name = 3;getSnapshotName in interface VariableDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getSnapshotNameBytes()
Name of the snapshot tensor.
string snapshot_name = 3;getSnapshotNameBytes in interface VariableDefOrBuilderpublic VariableDef.Builder setSnapshotName(String value)
Name of the snapshot tensor.
string snapshot_name = 3;public VariableDef.Builder clearSnapshotName()
Name of the snapshot tensor.
string snapshot_name = 3;public VariableDef.Builder setSnapshotNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the snapshot tensor.
string snapshot_name = 3;public boolean hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;hasSaveSliceInfoDef in interface VariableDefOrBuilderpublic SaveSliceInfoDef getSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;getSaveSliceInfoDef in interface VariableDefOrBuilderpublic VariableDef.Builder setSaveSliceInfoDef(SaveSliceInfoDef value)
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 mergeSaveSliceInfoDef(SaveSliceInfoDef value)
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;public VariableDef.Builder clearSaveSliceInfoDef()
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;getSaveSliceInfoDefOrBuilder in interface VariableDefOrBuilderpublic boolean getIsResource()
Whether to represent this as a ResourceVariable.
bool is_resource = 5;getIsResource in interface VariableDefOrBuilderpublic VariableDef.Builder setIsResource(boolean value)
Whether to represent this as a ResourceVariable.
bool is_resource = 5;public VariableDef.Builder clearIsResource()
Whether to represent this as a ResourceVariable.
bool is_resource = 5;public boolean getTrainable()
Whether this variable should be trained.
bool trainable = 7;getTrainable in interface VariableDefOrBuilderpublic VariableDef.Builder setTrainable(boolean value)
Whether this variable should be trained.
bool trainable = 7;public VariableDef.Builder clearTrainable()
Whether this variable should be trained.
bool trainable = 7;public final VariableDef.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>public final VariableDef.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>Copyright © 2021. All rights reserved.