classe final pública estática OpDef.AttrDef
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.
tensorflow.OpDef.AttrDef
tipo tensorflow.OpDef.AttrDef
Classes aninhadas
aula | OpDef.AttrDef.Builder | Description of the graph-construction-time configuration of this Op. |
Constantes
int | ALLOWED_VALUES_FIELD_NUMBER | |
int | DEFAULT_VALUE_FIELD_NUMBER | |
int | DESCRIPTION_FIELD_NUMBER | |
int | HAS_MINIMUM_FIELD_NUMBER | |
int | MINIMUM_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER | |
int | TYPE_FIELD_NUMBER |
Métodos Públicos
boleano | igual a (objeto obj) |
AttrValue | getAllowedValues () The set of allowed values. |
AttrValueOrBuilder | getAllowedValuesOrBuilder () The set of allowed values. |
OpDef.AttrDef estático | |
OpDef.AttrDef | |
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. |
Fragmento | getDescription () Human-readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human-readable description. |
final static com.google.protobuf.Descriptors.Descriptor | |
boleano | getHasMinimum () For type == "int", this is a minimum value. |
longo | getMinimum () int64 minimum = 6; |
Fragmento | getName () A descriptive name for the argument. |
com.google.protobuf.ByteString | getNameBytes () A descriptive name for the argument. |
int | |
Fragmento | getType () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
com.google.protobuf.ByteString | getTypeBytes () One of the type names from attr_value.proto ("string", "list(string)", "int", etc.). |
final com.google.protobuf.UnknownFieldSet | |
boleano | hasAllowedValues () The set of allowed values. |
boleano | hasDefaultValue () A reasonable default for this attribute if the user does not supply a value. |
int | hashCode () |
final booleano | |
OpDef.AttrDef.Builder estático | newBuilder (protótipo OpDef.AttrDef ) |
OpDef.AttrDef.Builder estático | newBuilder () |
OpDef.AttrDef.Builder | |
OpDef.AttrDef estático | parseDelimitedFrom (InputStream input) |
OpDef.AttrDef estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef estático | parseFrom (dados ByteBuffer) |
OpDef.AttrDef estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef estático | parseFrom (com.google.protobuf.CodedInputStream input) |
OpDef.AttrDef estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef estático | parseFrom (com.google.protobuf.ByteString data) |
OpDef.AttrDef estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.AttrDef estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
OpDef.AttrDef.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int ALLOWED_VALUES_FIELD_NUMBER
Valor constante: 7
public static final int DEFAULT_VALUE_FIELD_NUMBER
Valor Constante: 3
public static final int DESCRIPTION_FIELD_NUMBER
Valor constante: 4
public static final int HAS_MINIMUM_FIELD_NUMBER
Valor constante: 5
public static final int MINIMUM_FIELD_NUMBER
Valor constante: 6
public static final int NAME_FIELD_NUMBER
Valor Constante: 1
public static final int TYPE_FIELD_NUMBER
Valor constante: 2
Métodos Públicos
public boolean equals (Object obj)
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;
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;
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;
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;
public String getDescription ()
Human-readable description.
string description = 4;
public com.google.protobuf.ByteString getDescriptionBytes ()
Human-readable description.
string description = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public boolean getHasMinimum ()
For type == "int", this is a minimum value. For "list(___)" types, this is the minimum length.
bool has_minimum = 5;
public long getMinimum ()
int64 minimum = 6;
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;
public com.google.protobuf.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;
público getParserForType ()
public int getSerializedSize ()
public String getType ()
string type = 2;
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
public com.google.protobuf.ByteString getTypeBytes ()
string type = 2;
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
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;
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;
public int hashCode ()
public final boolean isInitialized ()
public static OpDef.AttrDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static OpDef.AttrDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static OpDef.AttrDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static OpDef.AttrDef parseFrom (com.google.protobuf.CodedInputStream input)
Lança
IOException |
---|
public static OpDef.AttrDef parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static OpDef.AttrDef parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static OpDef.AttrDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static OpDef.AttrDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|