OpDef.AttrDef.Builder

общедоступный статический конечный класс 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.
 
Тип protobuf tensorflow.OpDef.AttrDef

Публичные методы

OpDef.AttrDef.Builder
addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
ОпДеф.АттрДеф
ОпДеф.АттрДеф
OpDef.AttrDef.Builder
OpDef.AttrDef.Builder
ОчиститьAllowedValues ​​()
 The set of allowed values.
OpDef.AttrDef.Builder
очистить значение по умолчанию ()
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
ОчиститьОписание ()
 Human-readable description.
OpDef.AttrDef.Builder
ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)
OpDef.AttrDef.Builder
ОчиститьХасМинимум ()
 For type == "int", this is a minimum value.
OpDef.AttrDef.Builder
очиститьМинимум ()
int64 minimum = 6;
OpDef.AttrDef.Builder
ясное имя ()
 A descriptive name for the argument.
OpDef.AttrDef.Builder
ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
OpDef.AttrDef.Builder
ОчиститьТип ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder
Атрвалуе
getAllowedValues ​​()
 The set of allowed values.
AttrValue.Builder
getAllowedValuesBuilder ()
 The set of allowed values.
Атрвалуеорбилдер
getAllowedValuesOrBuilder ()
 The set of allowed values.
Опдеф.АттрДеф
Атрвалуе
получить значение по умолчанию ()
 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.
Атрвалуеорбилдер
getDefaultValueOrBuilder ()
 A reasonable default for this attribute if the user does not supply
 a value.
Нить
получитьОписание ()
 Human-readable description.
com.google.protobuf.ByteString
getDescriptionBytes ()
 Human-readable description.
окончательный статический com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
логическое значение
получитьХасМинимум ()
 For type == "int", this is a minimum value.
длинный
получитьМинимум ()
int64 minimum = 6;
Нить
получитьИмя ()
 A descriptive name for the argument.
com.google.protobuf.ByteString
getNameBytes ()
 A descriptive name for the argument.
Нить
ПолучитьТип ()
 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.).
логическое значение
логическое значение
имеет значение по умолчанию ()
 A reasonable default for this attribute if the user does not supply
 a value.
последнее логическое значение
OpDef.AttrDef.Builder
mergeAllowedValues ​​(значение AttrValue )
 The set of allowed values.
OpDef.AttrDef.Builder
mergeDefaultValue (значение AttrValue )
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
mergeFrom (com.google.protobuf.Message другое)
OpDef.AttrDef.Builder
mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
окончательный OpDef.AttrDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
OpDef.AttrDef.Builder
setAllowedValues ​​( AttrValue.Builder builderForValue)
 The set of allowed values.
OpDef.AttrDef.Builder
setAllowedValues ​​(значение AttrValue )
 The set of allowed values.
OpDef.AttrDef.Builder
setDefaultValue (значение 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 (строковое значение)
 Human-readable description.
OpDef.AttrDef.Builder
setDescriptionBytes (значение com.google.protobuf.ByteString)
 Human-readable description.
OpDef.AttrDef.Builder
setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
OpDef.AttrDef.Builder
setHasMinimum (логическое значение)
 For type == "int", this is a minimum value.
OpDef.AttrDef.Builder
setMinimum (длинное значение)
int64 minimum = 6;
OpDef.AttrDef.Builder
setName (строковое значение)
 A descriptive name for the argument.
OpDef.AttrDef.Builder
setNameBytes (значение com.google.protobuf.ByteString)
 A descriptive name for the argument.
OpDef.AttrDef.Builder
setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
OpDef.AttrDef.Builder
setType (строковое значение)
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder
setTypeBytes (значение com.google.protobuf.ByteString)
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
окончательный OpDef.AttrDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

Унаследованные методы

Публичные методы

public OpDef.AttrDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

общедоступная сборка OpDef.AttrDef ()

общедоступный OpDef.AttrDef buildPartial ()

public OpDef.AttrDef.Builder очистить ()

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.BuilderclearField ( поле 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.BuilderclearName ( )

 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)

общедоступный OpDef.AttrDef.Builder ClearType ()

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

общедоступный клон 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;

общедоступный 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 ()

общедоступное 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;

общедоступный 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;

публичная строка getDescription ()

 Human-readable description.
 
string description = 4;

public com.google.protobuf.ByteString getDescriptionBytes ()

 Human-readable description.
 
string description = 4;

общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()

общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

общедоступное логическое значение getHasMinimum ()

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

публичный длинный getMinimum ()

int64 minimum = 6;

общедоступная строка 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;

общедоступная строка 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;

общедоступное логическое значение 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;

общедоступное логическое значение 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;

публичное финальное логическое значение isInitialized ()

public OpDef.AttrDef.Builder mergeAllowedValues ​​(значение 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 (значение 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 другое)

public OpDef.AttrDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный финальный OpDef.AttrDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

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 ​​(значение 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 (значение 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 (строковое значение)

 Human-readable description.
 
string description = 4;

public OpDef.AttrDef.Builder setDescriptionBytes (значение com.google.protobuf.ByteString)

 Human-readable description.
 
string description = 4;

public OpDef.AttrDef.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

public OpDef.AttrDef.Builder setHasMinimum (логическое значение)

 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 (длинное значение)

int64 minimum = 6;

public OpDef.AttrDef.Builder setName (строковое значение)

 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 (значение 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 (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)

public OpDef.AttrDef.Builder setType (строковое значение)

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

public OpDef.AttrDef.Builder setTypeBytes (значение com.google.protobuf.ByteString)

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

общедоступный окончательный OpDef.AttrDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)