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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>
public VariableDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public VariableDef build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public VariableDef buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public VariableDef.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<VariableDef.Builder>
IOException
public String getVariableName()
Name of the variable tensor.
string variable_name = 1;
getVariableName
in interface VariableDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getVariableNameBytes()
Name of the variable tensor.
string variable_name = 1;
getVariableNameBytes
in interface VariableDefOrBuilder
public 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 VariableDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getInitialValueNameBytes()
Name of the tensor holding the variable's initial value.
string initial_value_name = 6;
getInitialValueNameBytes
in interface VariableDefOrBuilder
public 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 VariableDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getInitializerNameBytes()
Name of the initializer op.
string initializer_name = 2;
getInitializerNameBytes
in interface VariableDefOrBuilder
public 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 VariableDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getSnapshotNameBytes()
Name of the snapshot tensor.
string snapshot_name = 3;
getSnapshotNameBytes
in interface VariableDefOrBuilder
public 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 VariableDefOrBuilder
public SaveSliceInfoDef getSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
.tensorflow.SaveSliceInfoDef save_slice_info_def = 4;
getSaveSliceInfoDef
in interface VariableDefOrBuilder
public 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 VariableDefOrBuilder
public boolean getIsResource()
Whether to represent this as a ResourceVariable.
bool is_resource = 5;
getIsResource
in interface VariableDefOrBuilder
public 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 VariableDefOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<VariableDef.Builder>
Copyright © 2019. All rights reserved.