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.
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 | xây dựng () |
Giá trị Attr | |
AttrValue.Builder | thông thoáng () |
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 | ClearValue () |
AttrValue.Builder | dòng vô tính () |
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 | getValueCase () |
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 | |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
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 | |
AttrValue.Builder | |
AttrValue.Builder | setI (giá trị dài) "int" int64 i = 3; |
AttrValue.Builder | |
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 | |
AttrValue.Builder | setShape ( TensorShapeProto.Builder builderForValue) "shape" .tensorflow.TensorShapeProto shape = 7; |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
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)
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 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;
boolean công khai getB ()
"bool"
bool b = 5;
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.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.Builder getShapeBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
công khai TensorShapeProtoOrBuilder getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
int công khai getTypeValue ()
"type"
.tensorflow.DataType type = 6;
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 (đầ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)
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;
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 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;