общедоступный статический конечный класс AttrValue.Builder
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.
tensorflow.AttrValue
Публичные методы
AttrValue.Builder | addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
Атрвалуе | строить () |
Атрвалуе | |
AttrValue.Builder | прозрачный () |
AttrValue.Builder | очиститьБ () "bool" bool b = 5; |
AttrValue.Builder | очиститьF () "float" float f = 4; |
AttrValue.Builder | ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor) |
AttrValue.Builder | очиститьФунк () "func" represents a function. |
AttrValue.Builder | ясно я () "int" int64 i = 3; |
AttrValue.Builder | очистить список () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AttrValue.Builder | ОчиститьПлейсхолдер () This is a placeholder only used in nodes defined inside a function. |
AttrValue.Builder | ясноS () "string" bytes s = 2; |
AttrValue.Builder | прозрачная форма () "shape" .tensorflow.TensorShapeProto shape = 7; |
AttrValue.Builder | ОчиститьТензор () "tensor" .tensorflow.TensorProto tensor = 8; |
AttrValue.Builder | ОчиститьТип () "type" .tensorflow.DataType type = 6; |
AttrValue.Builder | |
AttrValue.Builder | клон () |
логическое значение | получитьБ () "bool" bool b = 5; |
Атрвалуе | |
окончательный статический com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
плавать | получитьF () "float" float f = 4; |
ИмяАттрЛист | getFunc () "func" represents a function. |
NameAttrList.Builder | getFuncBuilder () "func" represents a function. |
ИмяАтрлистлисторбилдер | getFuncOrBuilder () "func" represents a function. |
длинный | получитья () "int" int64 i = 3; |
AttrValue.ListValue | получитьСписок () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.ListValue.Builder | getListBuilder () 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 | получитьS () "string" bytes s = 2; |
TensorShapeProto | получитьШейп () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProto.Builder | getShapeBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
ТензорПрото | получитьТензор () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProto.Builder | получитьТензорБилдер () "tensor" .tensorflow.TensorProto tensor = 8; |
ТензорПротоОрБилдер | getTensorOrBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
Тип данных | ПолучитьТип () "type" .tensorflow.DataType type = 6; |
интервал | получитьТипЗначения () "type" .tensorflow.DataType type = 6; |
AttrValue.ValueCase | getValueCase () |
логическое значение | имеетФунк () "func" represents a function. |
логическое значение | имеетСписок () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
логическое значение | имеетШейп () "shape" .tensorflow.TensorShapeProto shape = 7; |
логическое значение | имеетТензор () "tensor" .tensorflow.TensorProto tensor = 8; |
последнее логическое значение | |
AttrValue.Builder | mergeFrom (com.google.protobuf.Message другое) |
AttrValue.Builder | mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
окончательный AttrValue.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
AttrValue.Builder | setB (логическое значение) "bool" bool b = 5; |
AttrValue.Builder | setF (плавающее значение) "float" float f = 4; |
AttrValue.Builder | setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта) |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | setI (длинное значение) "int" int64 i = 3; |
AttrValue.Builder | |
AttrValue.Builder | setList ( AttrValue.ListValue.Builder builderForValue) any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
AttrValue.Builder | setPlaceholder (строковое значение) This is a placeholder only used in nodes defined inside a function. |
AttrValue.Builder | setPlaceholderBytes (значение com.google.protobuf.ByteString) This is a placeholder only used in nodes defined inside a function. |
AttrValue.Builder | setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта) |
AttrValue.Builder | setS (значение com.google.protobuf.ByteString) "string" bytes s = 2; |
AttrValue.Builder | |
AttrValue.Builder | setShape ( TensorShapeProto.Builder builderForValue) "shape" .tensorflow.TensorShapeProto shape = 7; |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | setTypeValue (целое значение) "type" .tensorflow.DataType type = 6; |
окончательный AttrValue.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields) |
Унаследованные методы
Публичные методы
public AttrValue.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общедоступный AttrValue.Builder ClearFunc ()
"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;
общедоступный AttrValue.Builder ClearList ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
общедоступный AttrValue.Builder ClearPlaceholder ()
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;
общедоступное логическое значение getB ()
"bool"
bool b = 5;
общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
общедоступное число с плавающей запятой 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;
общедоступный NameAttrList.Builder getFuncBuilder ()
"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.ListValue.Builder getListBuilder ()
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. 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;
общедоступный TensorShapeProto.Builder getShapeBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
общедоступный TensorShapeProtoOrBuilder getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
общедоступный TensorProtoOrBuilder getTensorOrBuilder ()
"tensor"
.tensorflow.TensorProto tensor = 8;
public int getTypeValue ()
"type"
.tensorflow.DataType type = 6;
общедоступное логическое значение 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;
публичное окончательное логическое значение isInitialized ()
public AttrValue.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
Исключение IO |
---|
public AttrValue.Builder mergeFunc (значение NameAttrList )
"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;
общедоступный AttrValue.Builder mergeList (значение AttrValue.ListValue )
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.Builder mergeShape (значение TensorShapeProto )
"shape"
.tensorflow.TensorShapeProto shape = 7;
public AttrValue.Builder mergeTensor (значение TensorProto )
"tensor"
.tensorflow.TensorProto tensor = 8;
общедоступный окончательный AttrValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public AttrValue.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
общедоступный AttrValue.Builder setFunc ( NameAttrList.Builder builderForValue)
"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;
public AttrValue.Builder setFunc (значение NameAttrList )
"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;
public AttrValue.Builder setList (значение AttrValue.ListValue )
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.Builder setList ( AttrValue.ListValue.Builder builderForValue)
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.Builder setPlaceholder (строковое значение)
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;
общедоступный AttrValue.Builder setPlaceholderBytes (значение com.google.protobuf.ByteString)
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 AttrValue.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
общедоступные наборы AttrValue.Builder (значение com.google.protobuf.ByteString)
"string"
bytes s = 2;
public AttrValue.Builder setShape (значение TensorShapeProto )
"shape"
.tensorflow.TensorShapeProto shape = 7;
public AttrValue.Builder setShape ( TensorShapeProto.Builder builderForValue)
"shape"
.tensorflow.TensorShapeProto shape = 7;
public AttrValue.Builder setTensor ( TensorProto.Builder builderForValue)
"tensor"
.tensorflow.TensorProto tensor = 8;
public AttrValue.Builder setTensor (значение TensorProto )
"tensor"
.tensorflow.TensorProto tensor = 8;