public static final class OpDef.AttrDef extends com.github.os72.protobuf351.GeneratedMessageV3 implements OpDef.AttrDefOrBuilder
Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.Protobuf type
tensorflow.OpDef.AttrDef
Modifier and Type | Class and Description |
---|---|
static class |
OpDef.AttrDef.Builder
Description of the graph-construction-time configuration of this
Op.
|
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 |
ALLOWED_VALUES_FIELD_NUMBER |
static int |
DEFAULT_VALUE_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
HAS_MINIMUM_FIELD_NUMBER |
static int |
MINIMUM_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AttrValue |
getAllowedValues()
The set of allowed values.
|
AttrValueOrBuilder |
getAllowedValuesOrBuilder()
The set of allowed values.
|
static OpDef.AttrDef |
getDefaultInstance() |
OpDef.AttrDef |
getDefaultInstanceForType() |
AttrValue |
getDefaultValue()
A reasonable default for this attribute if the user does not supply
a value.
|
AttrValueOrBuilder |
getDefaultValueOrBuilder()
A reasonable default for this attribute if the user does not supply
a value.
|
String |
getDescription()
Human-readable description.
|
com.github.os72.protobuf351.ByteString |
getDescriptionBytes()
Human-readable description.
|
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
boolean |
getHasMinimum()
For type == "int", this is a minimum value.
|
long |
getMinimum()
int64 minimum = 6; |
String |
getName()
A descriptive name for the argument.
|
com.github.os72.protobuf351.ByteString |
getNameBytes()
A descriptive name for the argument.
|
com.github.os72.protobuf351.Parser<OpDef.AttrDef> |
getParserForType() |
int |
getSerializedSize() |
String |
getType()
One of the type names from attr_value.proto ("string", "list(string)",
"int", etc.).
|
com.github.os72.protobuf351.ByteString |
getTypeBytes()
One of the type names from attr_value.proto ("string", "list(string)",
"int", etc.).
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAllowedValues()
The set of allowed values.
|
boolean |
hasDefaultValue()
A reasonable default for this attribute if the user does not supply
a value.
|
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OpDef.AttrDef.Builder |
newBuilder() |
static OpDef.AttrDef.Builder |
newBuilder(OpDef.AttrDef prototype) |
OpDef.AttrDef.Builder |
newBuilderForType() |
protected OpDef.AttrDef.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static OpDef.AttrDef |
parseDelimitedFrom(InputStream input) |
static OpDef.AttrDef |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.AttrDef |
parseFrom(byte[] data) |
static OpDef.AttrDef |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.AttrDef |
parseFrom(ByteBuffer data) |
static OpDef.AttrDef |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.AttrDef |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static OpDef.AttrDef |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.AttrDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static OpDef.AttrDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static OpDef.AttrDef |
parseFrom(InputStream input) |
static OpDef.AttrDef |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<OpDef.AttrDef> |
parser() |
OpDef.AttrDef.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 NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int DEFAULT_VALUE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int HAS_MINIMUM_FIELD_NUMBER
public static final int MINIMUM_FIELD_NUMBER
public static final int ALLOWED_VALUES_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 getName()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
getName
in interface OpDef.AttrDefOrBuilder
public com.github.os72.protobuf351.ByteString getNameBytes()
A descriptive name for the argument. May be used, e.g. by the Python client, as a keyword argument name, and so should match the regexp "[a-z][a-z0-9_]+".
string name = 1;
getNameBytes
in interface OpDef.AttrDefOrBuilder
public String getType()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
getType
in interface OpDef.AttrDefOrBuilder
public com.github.os72.protobuf351.ByteString getTypeBytes()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
getTypeBytes
in interface OpDef.AttrDefOrBuilder
public boolean hasDefaultValue()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
hasDefaultValue
in interface OpDef.AttrDefOrBuilder
public AttrValue getDefaultValue()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
getDefaultValue
in interface OpDef.AttrDefOrBuilder
public AttrValueOrBuilder getDefaultValueOrBuilder()
A reasonable default for this attribute if the user does not supply a value. If not specified, the user must supply a value.
.tensorflow.AttrValue default_value = 3;
getDefaultValueOrBuilder
in interface OpDef.AttrDefOrBuilder
public String getDescription()
Human-readable description.
string description = 4;
getDescription
in interface OpDef.AttrDefOrBuilder
public com.github.os72.protobuf351.ByteString getDescriptionBytes()
Human-readable description.
string description = 4;
getDescriptionBytes
in interface OpDef.AttrDefOrBuilder
public boolean getHasMinimum()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
getHasMinimum
in interface OpDef.AttrDefOrBuilder
public long getMinimum()
int64 minimum = 6;
getMinimum
in interface OpDef.AttrDefOrBuilder
public boolean hasAllowedValues()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
hasAllowedValues
in interface OpDef.AttrDefOrBuilder
public AttrValue getAllowedValues()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
getAllowedValues
in interface OpDef.AttrDefOrBuilder
public AttrValueOrBuilder getAllowedValuesOrBuilder()
The set of allowed values. Has type that is the "list" version of the "type" field above (uses the "list" field of AttrValue). If type == "type" or "list(type)" above, then the "type" field of "allowed_values.list" has the set of allowed DataTypes. If type == "string" or "list(string)", then the "s" field of "allowed_values.list" has the set of allowed strings.
.tensorflow.AttrValue allowed_values = 7;
getAllowedValuesOrBuilder
in interface OpDef.AttrDefOrBuilder
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 OpDef.AttrDef parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.AttrDef parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.AttrDef parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.AttrDef 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 OpDef.AttrDef parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.AttrDef parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static OpDef.AttrDef parseFrom(InputStream input) throws IOException
IOException
public static OpDef.AttrDef parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OpDef.AttrDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static OpDef.AttrDef parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static OpDef.AttrDef parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static OpDef.AttrDef parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public OpDef.AttrDef.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static OpDef.AttrDef.Builder newBuilder()
public static OpDef.AttrDef.Builder newBuilder(OpDef.AttrDef prototype)
public OpDef.AttrDef.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected OpDef.AttrDef.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static OpDef.AttrDef getDefaultInstance()
public static com.github.os72.protobuf351.Parser<OpDef.AttrDef> parser()
public com.github.os72.protobuf351.Parser<OpDef.AttrDef> 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 OpDef.AttrDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.