public final class VariableDef extends com.github.os72.protobuf351.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.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.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.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getInitializerName()
Name of the initializer op.
|
com.github.os72.protobuf351.ByteString |
getInitializerNameBytes()
Name of the initializer op.
|
String |
getInitialValueName()
Name of the tensor holding the variable's initial value.
|
com.github.os72.protobuf351.ByteString |
getInitialValueNameBytes()
Name of the tensor holding the variable's initial value.
|
boolean |
getIsResource()
Whether to represent this as a ResourceVariable.
|
com.github.os72.protobuf351.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.github.os72.protobuf351.ByteString |
getSnapshotNameBytes()
Name of the snapshot tensor.
|
boolean |
getTrainable()
Whether this variable should be trained.
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
String |
getVariableName()
Name of the variable tensor.
|
com.github.os72.protobuf351.ByteString |
getVariableNameBytes()
Name of the variable tensor.
|
int |
hashCode() |
boolean |
hasSaveSliceInfoDef()
Support for saving variables as slices of a larger variable.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VariableDef.Builder |
newBuilder() |
static VariableDef.Builder |
newBuilder(VariableDef prototype) |
VariableDef.Builder |
newBuilderForType() |
protected VariableDef.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static VariableDef |
parseDelimitedFrom(InputStream input) |
static VariableDef |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(byte[] data) |
static VariableDef |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(ByteBuffer data) |
static VariableDef |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static VariableDef |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static VariableDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static VariableDef |
parseFrom(InputStream input) |
static VariableDef |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<VariableDef> |
parser() |
VariableDef.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
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 com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public String getVariableName()
Name of the variable tensor.
string variable_name = 1;
getVariableName
in interface VariableDefOrBuilder
public com.github.os72.protobuf351.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 com.github.os72.protobuf351.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 com.github.os72.protobuf351.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 com.github.os72.protobuf351.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 com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static VariableDef parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static VariableDef parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static VariableDef parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static VariableDef parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static VariableDef parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static VariableDef parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static VariableDef parseFrom(InputStream input) throws IOException
IOException
public static VariableDef parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VariableDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static VariableDef parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static VariableDef parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static VariableDef parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public VariableDef.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static VariableDef.Builder newBuilder()
public static VariableDef.Builder newBuilder(VariableDef prototype)
public VariableDef.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected VariableDef.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static VariableDef getDefaultInstance()
public static com.github.os72.protobuf351.Parser<VariableDef> parser()
public com.github.os72.protobuf351.Parser<VariableDef> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public VariableDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.