OpDef.AttrDef

classe finale statica pubblica 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.
 
Tipo di protocollo tensorflow.OpDef.AttrDef

Classi nidificate

classe OpDef.AttrDef.Builder
 Description of the graph-construction-time configuration of this
 Op. 

Costanti

int CONSENTITI_VALUES_FIELD_NUMBER
int DEFAULT_VALUE_FIELD_NUMBER
int DESCRIZIONE_FIELD_NUMBER
int HAS_MINIMUM_FIELD_NUMBER
int MINIMUM_FIELD_NUMBER
int NOME_CAMPO_NUMERO
int TIPO_CAMPO_NUMERO

Metodi pubblici

booleano
è uguale a (Oggetto oggetto)
AttrValue
getValoriConsentiti ()
 The set of allowed values.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
OpDef.AttrDef statico
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.
Corda
getDescrizione ()
 Human-readable description.
com.google.protobuf.ByteString
getDescrizioneBytes ()
 Human-readable description.
com.google.protobuf.Descriptors.Descriptor statico finale
booleano
getHasMinimum ()
 For type == "int", this is a minimum value.
lungo
getMinimo ()
int64 minimum = 6;
Corda
getNome ()
 A descriptive name for the argument.
com.google.protobuf.ByteString
getNomeBytes ()
 A descriptive name for the argument.
int
Corda
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.).
finale com.google.protobuf.UnknownFieldSet
booleano
hasAllowedValues ​​()
 The set of allowed values.
booleano
hasDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
int
booleano finale
OpDef.AttrDef.Builder statico
OpDef.AttrDef.Builder statico
OpDef.AttrDef.Builder
OpDef.AttrDef statico
parseDelimitedFrom (input InputStream)
OpDef.AttrDef statico
parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef statico
parseFrom (dati ByteBuffer)
OpDef.AttrDef statico
parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
OpDef.AttrDef statico
parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef statico
parseFrom (ingresso com.google.protobuf.CodedInputStream)
OpDef.AttrDef statico
parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef statico
parseFrom (dati com.google.protobuf.ByteString)
OpDef.AttrDef statico
parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef statico
parseFrom (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
statico
OpDef.AttrDef.Builder
vuoto
writeTo (output com.google.protobuf.CodedOutputStream)

Metodi ereditati

Costanti

public static final int ALLOWED_VALUES_FIELD_NUMBER

Valore costante: 7

public static final int DEFAULT_VALUE_FIELD_NUMBER

Valore costante: 3

public static final int DESCRIZIONE_FIELD_NUMBER

Valore costante: 4

public static final int HAS_MINIMUM_FIELD_NUMBER

Valore costante: 5

public static final int MINIMUM_FIELD_NUMBER

Valore costante: 6

public static final int NAME_FIELD_NUMBER

Valore costante: 1

public static final int TYPE_FIELD_NUMBER

Valore costante: 2

Metodi pubblici

booleano pubblico è uguale a (Oggetto obj)

pubblico 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;

pubblico statico OpDef.AttrDef getDefaultInstance ()

public OpDef.AttrDef getDefaultInstanceForType ()

pubblico 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;

stringa pubblica getDescription ()

descrizione stringa

 Human-readable description.
 
string description = 4;

pubblico com.google.protobuf.ByteString getDescriptionBytes ()

descrizione stringa

 Human-readable description.
 
string description = 4;

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

pubblico booleano getHasMinimum ()

 For type == "int", this is a minimum value.  For "list(___)"
 types, this is the minimum length.
 
bool has_minimum = 5;

pubblico lungo getMinimum ()

int64 minimum = 6;

stringa pubblica 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;

pubblico 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;

pubblico getParserForType ()

public int getSerializedSize ()

stringa pubblica getType ()

tipo stringa

 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
 
string type = 2;

pubblico com.google.protobuf.ByteString getTypeBytes ()

tipo stringa

 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
 
string type = 2;

pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()

booleano pubblico 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;

pubblico booleano 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 booleano isInitialized ()

pubblico statico OpDef.AttrDef.Builder newBuilder (prototipo OpDef.AttrDef )

pubblico statico OpDef.AttrDef.Builder newBuilder ()

pubblico OpDef.AttrDef.Builder newBuilderForType ()

public static OpDef.AttrDef parseDelimitedFrom (input InputStream)

Lancia
IOException

public static OpDef.AttrDef parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico OpDef.AttrDef (dati ByteBuffer)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico OpDef.AttrDef (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico OpDef.AttrDef (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico OpDef.AttrDef (input com.google.protobuf.CodedInputStream)

Lancia
IOException

pubblico statico OpDef.AttrDef parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

parseFrom pubblico statico OpDef.AttrDef (dati com.google.protobuf.ByteString)

Lancia
InvalidProtocolBufferException

public static OpDef.AttrDef parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

parseFrom pubblico statico OpDef.AttrDef (dati com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
InvalidProtocolBufferException

pubblico statico analizzatore ()

pubblico OpDef.AttrDef.Builder toBuilder ()

public void writeTo (output com.google.protobuf.CodedOutputStream)

Lancia
IOException