AttrValue.Builder

lớp cuối cùng tĩnh công khai 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 loại tensorflow.AttrValue

Phương pháp công khai

AttrValue.Builder
addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
Giá trị Attr
Giá trị Attr
AttrValue.Builder
AttrValue.Builder
rõ ràngB ()
 "bool"
 
bool b = 5;
AttrValue.Builder
rõ ràngF ()
 "float"
 
float f = 4;
AttrValue.Builder
ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
AttrValue.Builder
ClearFunc ()
 "func" represents a function.
AttrValue.Builder
rõ ràngI ()
 "int"
 
int64 i = 3;
AttrValue.Builder
Danh sách rõ ràng ()
 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.
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
AttrValue.Builder
boolean
getB ()
 "bool"
 
bool b = 5;
Giá trị Attr
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
com.google.protobuf.Descriptors.Descriptor
trôi nổi
getF ()
 "float"
 
float f = 4;
TênAttrDanh sách
getFunc ()
 "func" represents a function.
NameAttrList.Builder
getFuncBuilder ()
 "func" represents a function.
NameAttrListOrBuilder
getFuncOrBuilder ()
 "func" represents a function.
dài
lấy tôi ()
 "int"
 
int64 i = 3;
AttrValue.ListValue
lấy danh sách ()
 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;
Sợi dây
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
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;
Kiểu dữ liệu
getType ()
 "type"
 
.tensorflow.DataType type = 6;
int
getTypeValue ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.ValueCase
boolean
hasFunc ()
 "func" represents a function.
boolean
hasList ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
boolean
hasShape ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
boolean
hasTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
boolean cuối cùng
AttrValue.Builder
mergeFrom (com.google.protobuf.Message other)
AttrValue.Builder
mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
AttrValue.Builder
mergeFunc (giá trị NameAttrList )
 "func" represents a function.
AttrValue.Builder
mergeList (giá trị AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
mergeShape (giá trị TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
mergeTensor (giá trị TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder cuối cùng
hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
AttrValue.Builder
setB (giá trị boolean)
 "bool"
 
bool b = 5;
AttrValue.Builder
setF (giá trị nổi)
 "float"
 
float f = 4;
AttrValue.Builder
setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
AttrValue.Builder
setFunc ( NameAttrList.Builder builderForValue)
 "func" represents a function.
AttrValue.Builder
setFunc (giá trị NameAttrList )
 "func" represents a function.
AttrValue.Builder
setI (giá trị dài)
 "int"
 
int64 i = 3;
AttrValue.Builder
setList (giá trị 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 (Giá trị chuỗi)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
setPlaceholderBytes (giá trị com.google.protobuf.ByteString)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
AttrValue.Builder
setS (giá trị com.google.protobuf.ByteString)
 "string"
 
bytes s = 2;
AttrValue.Builder
setShape (giá trị 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 (giá trị TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setType (giá trị kiểu dữ liệu )
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder
setTypeValue (giá trị int)
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder cuối cùng
setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

Phương pháp kế thừa

Phương pháp công khai

công khai AttrValue.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

bản dựng AttrValue công khai ()

công khai AttrValue buildPartial ()

công khai AttrValue.Builder rõ ràng ()

công khai AttrValue.Builder clearB ()

 "bool"
 
bool b = 5;

công khai AttrValue.Builder clearF ()

 "float"
 
float f = 4;

công khai AttrValue.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)

công khai 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;

công khai AttrValue.Builder clearI ()

 "int"
 
int64 i = 3;

public AttrValue.Builder clearList ()

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

công khai AttrValue.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

công khai 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;

công khai AttrValue.Builder clearS ()

 "string"
 
bytes s = 2;

công khai AttrValue.Builder clearShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

công khai AttrValue.Builder clearTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

công khai AttrValue.Builder clearType ()

 "type"
 
.tensorflow.DataType type = 6;

công khai AttrValue.Builder clearValue ()

bản sao AttrValue.Builder công khai ()

boolean công khai getB ()

 "bool"
 
bool b = 5;

công khai AttrValue getDefaultInstanceForType ()

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()

phao công khai getF ()

 "float"
 
float f = 4;

tên công khaiAttrList 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;

tên công khaiAttrList.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;

tên công khaiAttrListOrBuilder 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;

công khai lâu getI ()

 "int"
 
int64 i = 3;

công khai AttrValue.ListValue getList ()

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

công khai AttrValue.ListValue.Builder getListBuilder ()

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

công khai AttrValue.ListValueOrBuilder getListOrBuilder ()

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

Chuỗi công khai 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 công khai ()

 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 công khai ()

 "string"
 
bytes s = 2;

công khai TensorShapeProto getShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

công khai TensorShapeProto.Builder getShapeBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

công khai TensorShapeProtoOrBuilder getShapeOrBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

TensorProto công khai getTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

công khai TensorProto.Builder getTensorBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

TensorProtoOrBuilder công khai getTensorOrBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

getType kiểu dữ liệu công khai ()

 "type"
 
.tensorflow.DataType type = 6;

int công khai getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

công khai AttrValue.ValueCase getValueCase ()

boolean công khai 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;

boolean công khai hasList ()

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

boolean công khai hasShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

boolean công khai hasTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

boolean cuối cùng công khai được khởi tạo ()

công khai AttrValue.Builder mergeFrom (com.google.protobuf.Message other)

công khai AttrValue.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

public AttrValue.Builder mergeFunc (giá trị 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;

công khai AttrValue.Builder mergeList (giá trị AttrValue.ListValue )

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

công khai AttrValue.Builder mergeShape (giá trị TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

công khai AttrValue.Builder mergeTensor (giá trị TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

trận chung kết công khai AttrValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

public AttrValue.Builder setB (giá trị boolean)

 "bool"
 
bool b = 5;

công khai AttrValue.Builder setF (giá trị float)

 "float"
 
float f = 4;

công khai AttrValue.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

công khai 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 (giá trị 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 (giá trị dài)

 "int"
 
int64 i = 3;

công khai AttrValue.Builder setList (giá trị AttrValue.ListValue )

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

công khai AttrValue.Builder setList ( AttrValue.ListValue.Builder builderForValue)

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

công khai AttrValue.Builder setPlaceholder (Giá trị chuỗi)

 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;

công khai AttrValue.Builder setPlaceholderBytes (giá trị 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;

công khai AttrValue.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)

công khai AttrValue.Builder setS (giá trị com.google.protobuf.ByteString)

 "string"
 
bytes s = 2;

công khai AttrValue.Builder setShape (giá trị TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

công khai AttrValue.Builder setShape ( TensorShapeProto.Builder builderForValue)

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

công khai AttrValue.Builder setTensor ( TensorProto.Builder builderForValue)

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

công khai AttrValue.Builder setTensor (giá trị TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public AttrValue.Builder setType (giá trị DataType )

 "type"
 
.tensorflow.DataType type = 6;

công khai AttrValue.Builder setTypeValue (giá trị int)

 "type"
 
.tensorflow.DataType type = 6;

trận chung kết công khai AttrValue.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)