OpDef.AttrDef

classe final estática pública 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 de protobuf tensorflow.OpDef.AttrDef

Classes aninhadas

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

Constantes

interno ALLOWED_VALUES_FIELD_NUMBER
interno DEFAULT_VALUE_FIELD_NUMBER
interno DESCRIPTION_FIELD_NUMBER
interno HAS_MINIMUM_FIELD_NUMBER
interno MINIMUM_FIELD_NUMBER
interno NAME_FIELD_NUMBER
interno TYPE_FIELD_NUMBER

Métodos Públicos

boleano
é igual (objeto obj)
Valor de atributo
getAllowedValues ()
 The set of allowed values.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
OpDef.AttrDef estático
OpDef.AttrDef
Valor de atributo
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
getDescrição ()
 Human-readable description.
com.google.protobuf.ByteString
getDescriptionBytes ()
 Human-readable description.
final estático com.google.protobuf.Descriptors.Descriptor
boleano
getHasMinimum ()
 For type == "int", this is a minimum value.
longo
obterMínimo ()
int64 minimum = 6;
Corda
getNome ()
 A descriptive name for the argument.
com.google.protobuf.ByteString
getNomeBytes ()
 A descriptive name for the argument.
interno
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.).
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.
interno
booleano final
OpDef.AttrDef.Builder estático
newBuilder (protótipo OpDef.AttrDef )
OpDef.AttrDef.Builder estático
OpDef.AttrDef.Builder
OpDef.AttrDef estático
parseDelimitedFrom (entrada InputStream)
OpDef.AttrDef estático
parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef estático
parseFrom (dados de ByteBuffer)
OpDef.AttrDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef estático
parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef estático
parseFrom (entrada com.google.protobuf.CodedInputStream)
OpDef.AttrDef estático
parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef estático
parseFrom (dados com.google.protobuf.ByteString)
OpDef.AttrDef estático
parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
OpDef.AttrDef estático
parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
OpDef.AttrDef.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

público estático final int ALLOWED_VALUES_FIELD_NUMBER

Valor Constante: 7

público estático final int DEFAULT_VALUE_FIELD_NUMBER

Valor Constante: 3

público estático final int DESCRIPTION_FIELD_NUMBER

Valor Constante: 4

público estático final int HAS_MINIMUM_FIELD_NUMBER

Valor Constante: 5

público estático final int MINIMUM_FIELD_NUMBER

Valor Constante: 6

int final estático público NAME_FIELD_NUMBER

Valor Constante: 1

público estático final int TYPE_FIELD_NUMBER

Valor Constante: 2

Métodos Públicos

booleano público é igual (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;

público 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;

público estático OpDef.AttrDef getDefaultInstance ()

público OpDef.AttrDef getDefaultInstanceForType ()

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;

público 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;

String pública getDescrição ()

descrição da string

 Human-readable description.
 
string description = 4;

público com.google.protobuf.ByteString getDescriptionBytes ()

descrição da string

 Human-readable description.
 
string description = 4;

final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()

getHasMinimum booleano público ()

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

público longo getMinimum ()

int64 minimum = 6;

String pública getNome ()

 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 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 ()

público int getSerializedSize ()

String pública getType ()

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

público com.google.protobuf.ByteString getTypeBytes ()

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

final público com.google.protobuf.UnknownFieldSet getUnknownFields ()

hasAllowedValues ​​booleano público ()

 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;

hasDefaultValue booleano público ()

 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;

hashCode int público ()

público final booleano isInitialized ()

público estático OpDef.AttrDef.Builder newBuilder (protótipo OpDef.AttrDef )

público estático OpDef.AttrDef.Builder newBuilder ()

público OpDef.AttrDef.Builder newBuilderForType ()

público estático OpDef.AttrDef parseDelimitedFrom (entrada InputStream)

Lança
IOException

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

Lança
IOException

público estático OpDef.AttrDef parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

público estático OpDef.AttrDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

público estático OpDef.AttrDef parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

público estático OpDef.AttrDef parseFrom (entrada com.google.protobuf.CodedInputStream)

Lança
IOException

público estático OpDef.AttrDef parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

público estático OpDef.AttrDef parseFrom (dados com.google.protobuf.ByteString)

Lança
InvalidProtocolBufferException

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

Lança
IOException

público estático OpDef.AttrDef parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

OpDef.AttrDef.Builder público paraBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException