classe finale statique publique 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
de type Protobuf.OpDef.AttrDef Classes imbriquées
classe | 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éthodes publiques
booléen | est égal à (Obj objet) |
Valeur d'attribut | getAllowedValues () The set of allowed values. |
AttrValueOrBuilder | getAllowedValuesOrBuilder () The set of allowed values. |
statique OpDef.AttrDef | |
OpDef.AttrDef | |
Valeur d'attribut | 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. |
Chaîne | obtenirDescription () Human-readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human-readable description. |
final statique com.google.protobuf.Descriptors.Descriptor | |
booléen | getHasMinimum () For type == "int", this is a minimum value. |
long | obtenirMinimum () int64 minimum = 6; |
Chaîne | obtenirNom () A descriptive name for the argument. |
com.google.protobuf.ByteString | getNameBytes () A descriptive name for the argument. |
int | |
Chaîne | 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 | |
booléen | hasAllowedValues () The set of allowed values. |
booléen | hasDefaultValue () A reasonable default for this attribute if the user does not supply a value. |
int | |
booléen final | |
statique OpDef.AttrDef.Builder | newBuilder (prototype OpDef.AttrDef ) |
statique OpDef.AttrDef.Builder | |
OpDef.AttrDef.Builder | |
statique OpDef.AttrDef | parseDelimitedFrom (entrée InputStream) |
statique OpDef.AttrDef | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.AttrDef | parseFrom (données ByteBuffer) |
statique OpDef.AttrDef | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.AttrDef | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.AttrDef | parseFrom (entrée com.google.protobuf.CodedInputStream) |
statique OpDef.AttrDef | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.AttrDef | parseFrom (données com.google.protobuf.ByteString) |
statique OpDef.AttrDef | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.AttrDef | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
OpDef.AttrDef.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final entier ALLOWED_VALUES_FIELD_NUMBER
Valeur constante : 7
public statique final entier DEFAULT_VALUE_FIELD_NUMBER
Valeur constante : 3
public statique final int DESCRIPTION_FIELD_NUMBER
Valeur constante : 4
public statique final int HAS_MINIMUM_FIELD_NUMBER
Valeur constante : 5
public statique final int MINIMUM_FIELD_NUMBER
Valeur constante : 6
public statique final entier NAME_FIELD_NUMBER
Valeur constante : 1
public statique final int TYPE_FIELD_NUMBER
Valeur constante : 2
Méthodes publiques
public booléen égal (Objet 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;
chaîne publique getDescription ()
Human-readable description.
string description = 4;
public com.google.protobuf.ByteString getDescriptionBytes ()
Human-readable description.
string description = 4;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public booléen 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;
chaîne publique 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;
publique getParserForType ()
public int getSerializedSize ()
chaîne publique getType ()
One of the type names from attr_value.proto ("string", "list(string)", "int", etc.).
string type = 2;
public com.google.protobuf.ByteString getTypeBytes ()
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 booléen 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 booléen 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;
code de hachage int public ()
public final booléen isInitialized ()
public statique OpDef.AttrDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique OpDef.AttrDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique OpDef.AttrDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique OpDef.AttrDef parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public statique OpDef.AttrDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique OpDef.AttrDef parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public statique OpDef.AttrDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique OpDef.AttrDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|