OpDef.AttrDef

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

Вложенные классы

сорт OpDef.AttrDef.Builder
 Description of the graph-construction-time configuration of this
 Op. 

Константы

интервал ALLOWED_VALUES_FIELD_NUMBER
интервал DEFAULT_VALUE_FIELD_NUMBER
интервал DESCRIPTION_FIELD_NUMBER
интервал HAS_MINIMUM_FIELD_NUMBER
интервал MINIMUM_FIELD_NUMBER
интервал NAME_FIELD_NUMBER
интервал TYPE_FIELD_NUMBER

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

логическое значение
равно (Объект obj)
Атрвалуе
getAllowedValues ​​()
 The set of allowed values.
Атрвалуеорбилдер
getAllowedValuesOrBuilder ()
 The set of allowed values.
статический OpDef.AttrDef
ОпДеф.АттрДеф
Атрвалуе
получить значение по умолчанию ()
 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
логическое значение
получитьХасМинимум ()
 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.).
окончательный com.google.protobuf.UnknownFieldSet
логическое значение
логическое значение
имеет значение по умолчанию ()
 A reasonable default for this attribute if the user does not supply
 a value.
интервал
последнее логическое значение
статический OpDef.AttrDef.Builder
newBuilder (прототип OpDef.AttrDef )
статический OpDef.AttrDef.Builder
OpDef.AttrDef.Builder
статический OpDef.AttrDef
parseDelimitedFrom (входной поток)
статический OpDef.AttrDef
parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический OpDef.AttrDef
parseFrom (данные ByteBuffer)
статический OpDef.AttrDef
parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический OpDef.AttrDef
parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический OpDef.AttrDef
parseFrom (вход com.google.protobuf.CodedInputStream)
статический OpDef.AttrDef
parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический OpDef.AttrDef
parseFrom (данные com.google.protobuf.ByteString)
статический OpDef.AttrDef
parseFrom (ввод входного потока, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический OpDef.AttrDef
parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический
OpDef.AttrDef.Builder
пустота
writeTo (вывод com.google.protobuf.CodedOutputStream)

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

Константы

общедоступный статический окончательный int ALLOWED_VALUES_FIELD_NUMBER

Постоянное значение: 7

общедоступный статический окончательный int DEFAULT_VALUE_FIELD_NUMBER

Постоянное значение: 3

общедоступный статический окончательный int DESCRIPTION_FIELD_NUMBER

Постоянное значение: 4

общедоступный статический окончательный int HAS_MINIMUM_FIELD_NUMBER

Постоянное значение: 5

общедоступный статический окончательный int MINIMUM_FIELD_NUMBER

Постоянное значение: 6

общедоступный статический окончательный int NAME_FIELD_NUMBER

Постоянное значение: 1

общедоступный статический окончательный int TYPE_FIELD_NUMBER

Постоянное значение: 2

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

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

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;

общедоступный статический OpDef.AttrDef getDefaultInstance ()

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;

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

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

общественный getParserForType ()

public int getSerializedSize ()

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

публичный финал com.google.protobuf.UnknownFieldSet getUnknownFields ()

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

public int hashCode ()

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

общедоступный статический OpDef.AttrDef.Builder newBuilder (прототип OpDef.AttrDef )

общедоступный статический OpDef.AttrDef.Builder newBuilder ()

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

общедоступный статический OpDef.AttrDef parseDelimitedFrom (входной поток InputStream)

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

общедоступный статический OpDef.AttrDef parseDelimitedFrom (входной поток InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

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

общедоступный статический OpDef.AttrDef parseFrom (данные ByteBuffer)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический OpDef.AttrDef parseFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

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

public static OpDef.AttrDef parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический OpDef.AttrDef parseFrom (вход com.google.protobuf.CodedInputStream)

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

общедоступный статический OpDef.AttrDef parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический OpDef.AttrDef parseFrom (данные com.google.protobuf.ByteString)

Броски
Инвалидпротоколбуфферисключение

общедоступный статический OpDef.AttrDef parseFrom (входной поток InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

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

общедоступный статический OpDef.AttrDef parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Инвалидпротоколбуфферисключение

общественный статический парсер ()

public OpDef.AttrDef.Builder toBuilder ()

public void writeTo (вывод com.google.protobuf.CodedOutputStream)

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