AttrValue

публичный финальный класс AttrValue

 Protocol buffer representing the value for an attr used to configure an Op.
 Comment indicates the corresponding attr type.  Only the field matching the
 attr type may be filled.
 
тип Protobuf tensorflow.AttrValue

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

сорт AttrValue.Builder
 Protocol buffer representing the value for an attr used to configure an Op. 
сорт AttrValue.ListValue
 LINT.IfChange
 
Тип Protobuf tensorflow.AttrValue.ListValue
интерфейс AttrValue.ListValueOrBuilder
перечисление AttrValue.ValueCase

Константы

интервал B_FIELD_NUMBER
интервал FUNC_FIELD_NUMBER
интервал F_FIELD_NUMBER
интервал I_FIELD_NUMBER
интервал LIST_FIELD_NUMBER
интервал PLACEHOLDER_FIELD_NUMBER
интервал SHAPE_FIELD_NUMBER
интервал S_FIELD_NUMBER
интервал TENSOR_FIELD_NUMBER
интервал TYPE_FIELD_NUMBER

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

логическое значение
равно (Объект obj)
логическое значение
получитьБ ()
 "bool"
 
bool b = 5;
статическое значение атрибута
Атрвалуе
окончательный статический com.google.protobuf.Descriptors.Descriptor
плавать
получитьF ()
 "float"
 
float f = 4;
ИмяАттрЛист
getFunc ()
 "func" represents a function.
ИмяАтрлистлисторбилдер
getFuncOrBuilder ()
 "func" represents a function.
длинный
получитья ()
 "int"
 
int64 i = 3;
AttrValue.ListValue
получитьСписок ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ListValueOrBuilder
getListOrBuilder ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
Нить
getPlaceholder ()
 This is a placeholder only used in nodes defined inside a
 function.
com.google.protobuf.ByteString
getPlaceholderBytes ()
 This is a placeholder only used in nodes defined inside a
 function.
com.google.protobuf.ByteString
получитьС ()
 "string"
 
bytes s = 2;
интервал
TensorShapeProto
получитьШейп ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
ТензорПрото
получитьТензор ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
ТензорПротоОрБилдер
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
Тип данных
ПолучитьТип ()
 "type"
 
.tensorflow.DataType type = 6;
интервал
получитьТипЗначения ()
 "type"
 
.tensorflow.DataType type = 6;
окончательный com.google.protobuf.UnknownFieldSet
AttrValue.ValueCase
логическое значение
имеетФунк ()
 "func" represents a function.
логическое значение
имеетСписок ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
логическое значение
имеетШейп ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
логическое значение
имеетТензор ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
интервал
последнее логическое значение
статический AttrValue.Builder
newBuilder (прототип AttrValue )
статический AttrValue.Builder
AttrValue.Builder
статическое значение атрибута
parseDelimitedFrom (входной поток)
статическое значение атрибута
parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статическое значение атрибута
parseFrom (данные ByteBuffer)
статическое значение атрибута
parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статическое значение атрибута
parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статическое значение атрибута
parseFrom (вход com.google.protobuf.CodedInputStream)
статическое значение атрибута
parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статическое значение атрибута
parseFrom (данные com.google.protobuf.ByteString)
статическое значение атрибута
parseFrom (ввод входного потока, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статическое значение атрибута
parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
статический
AttrValue.Builder
пустота
writeTo (вывод com.google.protobuf.CodedOutputStream)

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

Константы

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

общедоступное логическое значение равно (Object obj)

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

 "bool"
 
bool b = 5;

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

public AttrValue getDefaultInstanceForType ()

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

общедоступный float getF ()

 "float"
 
float f = 4;

общедоступный NameAttrList getFunc ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

общедоступный NameAttrListOrBuilder getFuncOrBuilder ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

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

 "int"
 
int64 i = 3;

общедоступный AttrValue.ListValue getList ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

общедоступный AttrValue.ListValueOrBuilder getListOrBuilder ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

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

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

 This is a placeholder only used in nodes defined inside a
 function.  It indicates the attr value will be supplied when
 the function is instantiated.  For example, let us suppose a
 node "N" in function "FN". "N" has an attr "A" with value
 placeholder = "foo". When FN is instantiated with attr "foo"
 set to "bar", the instantiated node N's attr A will have been
 given the value "bar".
 
string placeholder = 9;

public com.google.protobuf.ByteString getPlaceholderBytes ()

 This is a placeholder only used in nodes defined inside a
 function.  It indicates the attr value will be supplied when
 the function is instantiated.  For example, let us suppose a
 node "N" in function "FN". "N" has an attr "A" with value
 placeholder = "foo". When FN is instantiated with attr "foo"
 set to "bar", the instantiated node N's attr A will have been
 given the value "bar".
 
string placeholder = 9;

общедоступный com.google.protobuf.ByteString getS ()

 "string"
 
bytes s = 2;

public int getSerializedSize ()

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

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

общедоступный TensorShapeProtoOrBuilder getShapeOrBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

публичный TensorProto getTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

общедоступный TensorProtoOrBuilder getTensorOrBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

общедоступный тип данных getType ()

 "type"
 
.tensorflow.DataType type = 6;

public int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

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

общедоступный AttrValue.ValueCase getValueCase ()

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

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

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

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

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

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

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

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public int hashCode ()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

public static AttrValue parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

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

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

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

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

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

public static AttrValue parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

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

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

общедоступный AttrValue.Builder toBuilder ()

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

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