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) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
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
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 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 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 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 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 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 boolean getTrainable()
Whether this variable should be trained.
bool trainable = 7;
getTrainable
in interface VariableDefOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static VariableDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static VariableDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static VariableDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public 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.InvalidProtocolBufferException
public static VariableDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static VariableDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static VariableDef parseFrom(InputStream input) throws IOException
IOException
public static VariableDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VariableDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static VariableDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VariableDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static VariableDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public VariableDef.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static VariableDef.Builder newBuilder()
public static VariableDef.Builder newBuilder(VariableDef prototype)
public VariableDef.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected VariableDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public VariableDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2020. All rights reserved.