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.ตัวสร้าง
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor ช่อง ค่าอ็อบเจ็กต์)
AttrValue
AttrValue
AttrValue.ตัวสร้าง
AttrValue.ตัวสร้าง
เคลียร์บี ()
 "bool"
 
bool b = 5;
AttrValue.ตัวสร้าง
เคลียร์เอฟ ()
 "float"
 
float f = 4;
AttrValue.ตัวสร้าง
clearField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor)
AttrValue.ตัวสร้าง
clearFunc ()
 "func" represents a function.
AttrValue.ตัวสร้าง
ชัดเจนฉัน ()
 "int"
 
int64 i = 3;
AttrValue.ตัวสร้าง
รายการที่ชัดเจน ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ตัวสร้าง
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
AttrValue.ตัวสร้าง
ล้างตัวยึดตำแหน่ง ()
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.ตัวสร้าง
เคลียร์ส ()
 "string"
 
bytes s = 2;
AttrValue.ตัวสร้าง
รูปร่างชัดเจน ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.ตัวสร้าง
เคลียร์เทนเซอร์ ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.ตัวสร้าง
ชนิดใส ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.ตัวสร้าง
AttrValue.ตัวสร้าง
บูลีน
รับบี ()
 "bool"
 
bool b = 5;
AttrValue
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย
com.google.protobuf.Descriptors.Descriptor
ลอย
รับF ()
 "float"
 
float f = 4;
ชื่อAttrList
รับฟังก์ชั่น ()
 "func" represents a function.
NameAttrList.Builder
getFuncBuilder ()
 "func" represents a function.
ชื่อ AttrListOrBuilder
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;
เทนเซอร์รูปร่างโปรโต
รับรูปร่าง ()
 "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
รับ TensorBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProtoOrBuilder
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
ประเภทข้อมูล
รับประเภท ()
 "type"
 
.tensorflow.DataType type = 6;
ภายใน
getTypeValue ()
 "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.ตัวสร้าง
mergeFrom (com.google.protobuf.ข้อความ อื่น ๆ )
AttrValue.ตัวสร้าง
mergeFrom (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue.ตัวสร้าง
mergeFunc (ค่า NameAttrList )
 "func" represents a function.
AttrValue.ตัวสร้าง
mergeList (ค่า AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ตัวสร้าง
mergeShape (ค่า TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.ตัวสร้าง
ผสาน Tensor (ค่า TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder สุดท้าย
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
AttrValue.ตัวสร้าง
setB (ค่าบูลีน)
 "bool"
 
bool b = 5;
AttrValue.ตัวสร้าง
setF (ค่าลอยตัว)
 "float"
 
float f = 4;
AttrValue.ตัวสร้าง
setField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
AttrValue.ตัวสร้าง
setFunc ( NameAttrList.Builder builderForValue)
 "func" represents a function.
AttrValue.ตัวสร้าง
setFunc (ค่า NameAttrList )
 "func" represents a function.
AttrValue.ตัวสร้าง
setI (ค่ายาว)
 "int"
 
int64 i = 3;
AttrValue.ตัวสร้าง
setList (ค่า AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ตัวสร้าง
setList ( AttrValue.ListValue.Builder builderForValue)
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ตัวสร้าง
setPlaceholder (ค่าสตริง)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.ตัวสร้าง
setPlaceholderBytes (ค่า com.google.protobuf.ByteString)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.ตัวสร้าง
setRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor, ดัชนี int, ค่าอ็อบเจ็กต์)
AttrValue.ตัวสร้าง
setS (ค่า com.google.protobuf.ByteString)
 "string"
 
bytes s = 2;
AttrValue.ตัวสร้าง
setShape (ค่า TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.ตัวสร้าง
setShape ( TensorShapeProto.Builder builderForValue)
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.ตัวสร้าง
setTensor ( TensorProto.Builder builderForValue)
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.ตัวสร้าง
setTensor (ค่า TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.ตัวสร้าง
setType (ค่า DataType )
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.ตัวสร้าง
setTypeValue (ค่า int)
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder สุดท้าย
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

วิธีการสืบทอด

วิธีการสาธารณะ

สาธารณะ 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;

สาธารณะ 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 สาธารณะ clearS ()

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

AttrValue สาธารณะ getDefaultInstanceForType ()

สาธารณะคงที่สุดท้าย 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;

สาธารณะ long 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;

สาธารณะ 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;

สาธารณะ 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 สาธารณะ ผสานจาก (com.google.protobuf.Message อื่น ๆ )

AttrValue.Builder สาธารณะ ผสานจาก (com.google.protobuf.CodedInputStream อินพุต com.google.protobuf.ExtensionRegistryLite extensionRegistry)

ขว้าง
IOข้อยกเว้น

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;

AttrValue.Builder สาธารณะ ผสานรูปร่าง (ค่า TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

AttrValue.Builder สาธารณะ ผสาน Tensor (ค่า TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

AttrValue.Builder สาธารณะสุดท้าย ผสาน UnknownFields (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. 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 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;

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

AttrValue.Builder setRepeatedField สาธารณะ (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor, ดัชนี int, ค่าอ็อบเจ็กต์)

ชุด AttrValue.Builder สาธารณะ (ค่า 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 (ค่า DataType )

 "type"
 
.tensorflow.DataType type = 6;

AttrValue.Builder setTypeValue สาธารณะ (ค่า int)

 "type"
 
.tensorflow.DataType type = 6;

AttrValue.Builder สุดท้ายสาธารณะ setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)