public final class VariableDef extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements VariableDefOrBuilder
Protocol buffer representing a Variable.Protobuf type
tensorflow.VariableDef| Modifier and Type | Class and Description |
|---|---|
static class |
VariableDef.Builder
Protocol buffer representing a Variable.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
INITIAL_VALUE_NAME_FIELD_NUMBER |
static int |
INITIALIZER_NAME_FIELD_NUMBER |
static int |
IS_RESOURCE_FIELD_NUMBER |
static int |
SAVE_SLICE_INFO_DEF_FIELD_NUMBER |
static int |
SNAPSHOT_NAME_FIELD_NUMBER |
static int |
TRAINABLE_FIELD_NUMBER |
static int |
VARIABLE_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static VariableDef |
getDefaultInstance() |
VariableDef |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
org.nd4j.shade.protobuf.Parser<VariableDef> |
getParserForType() |
SaveSliceInfoDef |
getSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
|
SaveSliceInfoDefOrBuilder |
getSaveSliceInfoDefOrBuilder()
Support for saving variables as slices of a larger variable.
|
int |
getSerializedSize() |
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.
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVariableName()
Name of the variable tensor.
|
org.nd4j.shade.protobuf.ByteString |
getVariableNameBytes()
Name of the variable tensor.
|
int |
hashCode() |
boolean |
hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VariableDef.Builder |
newBuilder() |
static VariableDef.Builder |
newBuilder(VariableDef prototype) |
VariableDef.Builder |
newBuilderForType() |
protected VariableDef.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VariableDef |
parseDelimitedFrom(InputStream input) |
static VariableDef |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(byte[] data) |
static VariableDef |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(ByteBuffer data) |
static VariableDef |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static VariableDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static VariableDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(InputStream input) |
static VariableDef |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<VariableDef> |
parser() |
VariableDef.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VARIABLE_NAME_FIELD_NUMBER
public static final int INITIAL_VALUE_NAME_FIELD_NUMBER
public static final int INITIALIZER_NAME_FIELD_NUMBER
public static final int SNAPSHOT_NAME_FIELD_NUMBER
public static final int SAVE_SLICE_INFO_DEF_FIELD_NUMBER
public static final int IS_RESOURCE_FIELD_NUMBER
public static final int TRAINABLE_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 boolean getTrainable()
Whether this variable should be trained.
bool trainable = 7;getTrainable in interface VariableDefOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static VariableDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(InputStream input) throws IOException
IOExceptionpublic static VariableDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VariableDef parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VariableDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VariableDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VariableDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VariableDef.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static VariableDef.Builder newBuilder()
public static VariableDef.Builder newBuilder(VariableDef prototype)
public VariableDef.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected VariableDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static VariableDef getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<VariableDef> parser()
public org.nd4j.shade.protobuf.Parser<VariableDef> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public VariableDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.