public final class VariableDef extends com.google.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.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInitializerName()
Name of the initializer op.
|
com.google.protobuf.ByteString |
getInitializerNameBytes()
Name of the initializer op.
|
String |
getInitialValueName()
Name of the tensor holding the variable's initial value.
|
com.google.protobuf.ByteString |
getInitialValueNameBytes()
Name of the tensor holding the variable's initial value.
|
boolean |
getIsResource()
Whether to represent this as a ResourceVariable.
|
com.google.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.
|
com.google.protobuf.ByteString |
getSnapshotNameBytes()
Name of the snapshot tensor.
|
boolean |
getTrainable()
Whether this variable should be trained.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVariableName()
Name of the variable tensor.
|
com.google.protobuf.ByteString |
getVariableNameBytes()
Name of the variable tensor.
|
int |
hashCode() |
boolean |
hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VariableDef.Builder |
newBuilder() |
static VariableDef.Builder |
newBuilder(VariableDef prototype) |
VariableDef.Builder |
newBuilderForType() |
protected VariableDef.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static VariableDef |
parseDelimitedFrom(InputStream input) |
static VariableDef |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(byte[] data) |
static VariableDef |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(ByteBuffer data) |
static VariableDef |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(com.google.protobuf.ByteString data) |
static VariableDef |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VariableDef |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(InputStream input) |
static VariableDef |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VariableDef> |
parser() |
VariableDef.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getVariableName()
Name of the variable tensor.
string variable_name = 1;getVariableName in interface VariableDefOrBuilderpublic com.google.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 com.google.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 com.google.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 com.google.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 com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static VariableDef parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VariableDef parseFrom(InputStream input) throws IOException
IOExceptionpublic static VariableDef parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VariableDef parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VariableDef parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VariableDef parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VariableDef parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VariableDef.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VariableDef.Builder newBuilder()
public static VariableDef.Builder newBuilder(VariableDef prototype)
public VariableDef.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VariableDef.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VariableDef getDefaultInstance()
public static com.google.protobuf.Parser<VariableDef> parser()
public com.google.protobuf.Parser<VariableDef> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VariableDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2015–2019. All rights reserved.