OpDef.AttrDef.Builder

classe finale statique publique OpDef.AttrDef.Builder

 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

Méthodes publiques

OpDef.AttrDef.Builder
addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
OpDef.AttrDef
OpDef.AttrDef
OpDef.AttrDef.Builder
clair ()
OpDef.AttrDef.Builder
effacerValeursAutorisées ()
 The set of allowed values.
OpDef.AttrDef.Builder
clearDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
effacerDescription ()
 Human-readable description.
OpDef.AttrDef.Builder
clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)
OpDef.AttrDef.Builder
clearHasMinimum ()
 For type == "int", this is a minimum value.
OpDef.AttrDef.Builder
effacerMinimum ()
int64 minimum = 6;
OpDef.AttrDef.Builder
nom clair ()
 A descriptive name for the argument.
OpDef.AttrDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
OpDef.AttrDef.Builder
Type clair ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder
cloner ()
Valeur d'attribut
getAllowedValues ​​()
 The set of allowed values.
AttrValue.Builder
getAllowedValuesBuilder ()
 The set of allowed values.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
OpDef.AttrDef
Valeur d'attribut
getDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
AttrValue.Builder
getDefaultValueBuilder ()
 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
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.
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.).
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.
booléen final
OpDef.AttrDef.Builder
mergeAllowedValues ​​(valeur AttrValue )
 The set of allowed values.
OpDef.AttrDef.Builder
mergeDefaultValue (valeur AttrValue )
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
mergeFrom (com.google.protobuf.Message autre)
OpDef.AttrDef.Builder
mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final OpDef.AttrDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)
OpDef.AttrDef.Builder
setAllowedValues ​​( AttrValue.Builder builderForValue)
 The set of allowed values.
OpDef.AttrDef.Builder
setAllowedValues ​​(valeur AttrValue )
 The set of allowed values.
OpDef.AttrDef.Builder
setDefaultValue (valeur AttrValue )
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
setDefaultValue ( AttrValue.Builder builderForValue)
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
setDescription (valeur de chaîne)
 Human-readable description.
OpDef.AttrDef.Builder
setDescriptionBytes (valeur com.google.protobuf.ByteString)
 Human-readable description.
OpDef.AttrDef.Builder
setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)
OpDef.AttrDef.Builder
setHasMinimum (valeur booléenne)
 For type == "int", this is a minimum value.
OpDef.AttrDef.Builder
setMinimum (valeur longue)
int64 minimum = 6;
OpDef.AttrDef.Builder
setName (valeur de chaîne)
 A descriptive name for the argument.
OpDef.AttrDef.Builder
setNameBytes (valeur com.google.protobuf.ByteString)
 A descriptive name for the argument.
OpDef.AttrDef.Builder
setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)
OpDef.AttrDef.Builder
setType (valeur de chaîne)
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder
setTypeBytes (valeur com.google.protobuf.ByteString)
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
final OpDef.AttrDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet inconnuFields)

Méthodes héritées

Méthodes publiques

public OpDef.AttrDef.Builder addRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

build public OpDef.AttrDef ()

public OpDef.AttrDef buildPartial ()

public OpDef.AttrDef.Builder clear ()

public OpDef.AttrDef.Builder clearAllowedValues ​​()

 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 OpDef.AttrDef.Builder clearDefaultValue ()

 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 OpDef.AttrDef.Builder clearDescription ()

 Human-readable description.
 
string description = 4;

public OpDef.AttrDef.Builder clearField (champ com.google.protobuf.Descriptors.FieldDescriptor)

public OpDef.AttrDef.Builder clearHasMinimum ()

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

public OpDef.AttrDef.Builder clearMinimum ()

int64 minimum = 6;

public OpDef.AttrDef.Builder clearName ()

 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 OpDef.AttrDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public OpDef.AttrDef.Builder clearType ()

type de chaîne

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

clone public OpDef.AttrDef.Builder ()

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 AttrValue.Builder getAllowedValuesBuilder ()

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

public AttrValue.Builder getDefaultValueBuilder ()

 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 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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

nom de chaîne

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

nom de chaîne

 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;

chaîne publique getType ()

type de chaîne

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

public com.google.protobuf.ByteString getTypeBytes ()

type de chaîne

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

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;

public final booléen isInitialized ()

public OpDef.AttrDef.Builder mergeAllowedValues ​​(valeur AttrValue )

 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 OpDef.AttrDef.Builder mergeDefaultValue (valeur AttrValue )

 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 OpDef.AttrDef.Builder mergeFrom (com.google.protobuf.Message autre)

public OpDef.AttrDef.Builder mergeFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Jetés
IOException

public final OpDef.AttrDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public OpDef.AttrDef.Builder setAllowedValues ​​( AttrValue.Builder builderForValue)

 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 OpDef.AttrDef.Builder setAllowedValues ​​(valeur AttrValue )

 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 OpDef.AttrDef.Builder setDefaultValue (valeur AttrValue )

 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 OpDef.AttrDef.Builder setDefaultValue ( AttrValue.Builder builderForValue)

 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 OpDef.AttrDef.Builder setDescription (valeur de chaîne)

 Human-readable description.
 
string description = 4;

public OpDef.AttrDef.Builder setDescriptionBytes (valeur com.google.protobuf.ByteString)

 Human-readable description.
 
string description = 4;

public OpDef.AttrDef.Builder setField (champ com.google.protobuf.Descriptors.FieldDescriptor, valeur de l'objet)

public OpDef.AttrDef.Builder setHasMinimum (valeur booléenne)

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

public OpDef.AttrDef.Builder setMinimum (valeur longue)

int64 minimum = 6;

public OpDef.AttrDef.Builder setName (valeur de chaîne)

 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 OpDef.AttrDef.Builder setNameBytes (valeur com.google.protobuf.ByteString)

 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 OpDef.AttrDef.Builder setRepeatedField (champ com.google.protobuf.Descriptors.FieldDescriptor, index int, valeur de l'objet)

public OpDef.AttrDef.Builder setType (valeur de chaîne)

type de chaîne

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

public OpDef.AttrDef.Builder setTypeBytes (valeur com.google.protobuf.ByteString)

type de chaîne

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

public final OpDef.AttrDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)