AttrValue.Builder

общедоступный статический конечный класс 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.
 
тип Protobuf 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
получитьС ()
 "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
логическое значение
имеетФунк ()
 "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
mergeFunc (значение NameAttrList )
 "func" represents a function.
AttrValue.Builder
mergeList (значение AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
mergeShape (значение TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
mergeTensor (значение TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
окончательный 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
setFunc ( NameAttrList.Builder builderForValue)
 "func" represents a function.
AttrValue.Builder
setFunc (значение NameAttrList )
 "func" represents a function.
AttrValue.Builder
setI (длинное значение)
 "int"
 
int64 i = 3;
AttrValue.Builder
setList (значение AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
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
setShape (значение TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setShape ( TensorShapeProto.Builder builderForValue)
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setTensor ( TensorProto.Builder builderForValue)
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setTensor (значение TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setType (значение типа данных )
 "type"
 
.tensorflow.DataType type = 6;
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 ()

общедоступное AttrValue buildPartial ()

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

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

 "bool"
 
bool b = 5;

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

 "float"
 
float f = 4;

public AttrValue.Builder ClearField (поле 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 ClearI ()

 "int"
 
int64 i = 3;

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

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

общедоступный AttrValue.Builder ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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

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

 "string"
 
bytes s = 2;

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

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

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

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

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

 "type"
 
.tensorflow.DataType type = 6;

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

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

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

 "bool"
 
bool b = 5;

public AttrValue getDefaultInstanceForType ()

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

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

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

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

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

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

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

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

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

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

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

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

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

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

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

общедоступный AttrValue.Builder mergeFrom (com.google.protobuf.Message другое)

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 setB (логическое значение)

 "bool"
 
bool b = 5;

public AttrValue.Builder setF (плавающее значение)

 "float"
 
float f = 4;

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

 "int"
 
int64 i = 3;

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;

public AttrValue.Builder setType (значение DataType )

 "type"
 
.tensorflow.DataType type = 6;

public AttrValue.Builder setTypeValue (целое значение)

 "type"
 
.tensorflow.DataType type = 6;

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