lớp cuối cùng tĩnh công khai OpDef.ArgDef.Builder
For describing inputs and outputs.
tensorflow.OpDef.ArgDef
Phương pháp công khai
OpDef.ArgDef.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
OpDef.ArgDef | xây dựng () |
OpDef.ArgDef | |
OpDef.ArgDef.Builder | thông thoáng () |
OpDef.ArgDef.Builder | mô tả rõ ràng () Human readable description. |
OpDef.ArgDef.Builder | ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.ArgDef.Builder | ClearIsRef () For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | ClearName () Name for the input/output. |
OpDef.ArgDef.Builder | clearNumberAttr () if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.ArgDef.Builder | ClearType () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.Builder | ClearTypeAttr () if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | clearTypeListAttr () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
OpDef.ArgDef.Builder | dòng vô tính () |
OpDef.ArgDef | |
Sợi dây | getDescription () Human readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human readable description. |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
boolean | getIsRef () For inputs: if true, the inputs are required to be refs. |
Sợi dây | lấy Tên () Name for the input/output. |
com.google.protobuf.ByteString | getNameBytes () Name for the input/output. |
Sợi dây | getNumberAttr () if specified, attr must have type "int" string number_attr = 5; |
com.google.protobuf.ByteString | getNumberAttrBytes () if specified, attr must have type "int" string number_attr = 5; |
Kiểu dữ liệu | getType () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Sợi dây | getTypeAttr () if specified, attr must have type "type" string type_attr = 4; |
com.google.protobuf.ByteString | getTypeAttrBytes () if specified, attr must have type "type" string type_attr = 4; |
Sợi dây | getTypeListAttr () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
com.google.protobuf.ByteString | getTypeListAttrBytes () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
int | getTypeValue () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
boolean cuối cùng | |
OpDef.ArgDef.Builder | mergeFrom (com.google.protobuf.Message other) |
OpDef.ArgDef.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
OpDef.ArgDef.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
OpDef.ArgDef.Builder | setDescription (Giá trị chuỗi) Human readable description. |
OpDef.ArgDef.Builder | setDescriptionBytes (giá trị com.google.protobuf.ByteString) Human readable description. |
OpDef.ArgDef.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
OpDef.ArgDef.Builder | setIsRef (giá trị boolean) For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | setName (Giá trị chuỗi) Name for the input/output. |
OpDef.ArgDef.Builder | setNameBytes (giá trị com.google.protobuf.ByteString) Name for the input/output. |
OpDef.ArgDef.Builder | setNumberAttr (Giá trị chuỗi) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setNumberAttrBytes (giá trị com.google.protobuf.ByteString) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
OpDef.ArgDef.Builder | setType (giá trị kiểu dữ liệu ) Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.Builder | setTypeAttr (Giá trị chuỗi) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeAttrBytes (giá trị com.google.protobuf.ByteString) if specified, attr must have type "type" string type_attr = 4; |
OpDef.ArgDef.Builder | setTypeListAttr (Giá trị chuỗi) If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
OpDef.ArgDef.Builder | setTypeListAttrBytes (giá trị com.google.protobuf.ByteString) If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
OpDef.ArgDef.Builder | setTypeValue (giá trị int) Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.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 OpDef.ArgDef.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai OpDef.ArgDef.Builder clearDescription ()
Human readable description.
string description = 2;
công khai OpDef.ArgDef.Builder clearIsRef ()
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
công khai OpDef.ArgDef.Builder clearName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
công khai OpDef.ArgDef.Builder clearNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
công khai OpDef.ArgDef.Builder clearType ()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
công khai OpDef.ArgDef.Builder clearTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
công khai OpDef.ArgDef.Builder clearTypeListAttr ()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
Chuỗi công khai getDescription ()
Human readable description.
string description = 2;
com.google.protobuf.ByteString getDescriptionBytes công khai ()
Human readable description.
string description = 2;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
boolean công khai getIsRef ()
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
Chuỗi công khai getName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
com.google.protobuf.ByteString getNameBytes công khai ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
Chuỗi công khai getNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
com.google.protobuf.ByteString getNumberAttrBytes công khai ()
if specified, attr must have type "int"
string number_attr = 5;
getType kiểu dữ liệu công khai ()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
Chuỗi công khai getTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
com.google.protobuf.ByteString getTypeAttrBytes công khai ()
if specified, attr must have type "type"
string type_attr = 4;
Chuỗi công khai getTypeListAttr ()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
com.google.protobuf.ByteString công khai getTypeListAttrBytes ()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
int công khai getTypeValue ()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
boolean cuối cùng công khai được khởi tạo ()
công khai OpDef.ArgDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai OpDef.ArgDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
public OpDef.ArgDef.Builder setDescription (Giá trị chuỗi)
Human readable description.
string description = 2;
công khai OpDef.ArgDef.Builder setDescriptionBytes (giá trị com.google.protobuf.ByteString)
Human readable description.
string description = 2;
công khai OpDef.ArgDef.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai OpDef.ArgDef.Builder setIsRef (giá trị boolean)
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
public OpDef.ArgDef.Builder setName (Giá trị chuỗi)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
công khai OpDef.ArgDef.Builder setNameBytes (giá trị com.google.protobuf.ByteString)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public OpDef.ArgDef.Builder setNumberAttr (Giá trị chuỗi)
if specified, attr must have type "int"
string number_attr = 5;
công khai OpDef.ArgDef.Builder setNumberAttrBytes (giá trị com.google.protobuf.ByteString)
if specified, attr must have type "int"
string number_attr = 5;
công khai OpDef.ArgDef.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
public OpDef.ArgDef.Builder setType (giá trị DataType )
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
công khai OpDef.ArgDef.Builder setTypeAttr (Giá trị chuỗi)
if specified, attr must have type "type"
string type_attr = 4;
công khai OpDef.ArgDef.Builder setTypeAttrBytes (giá trị com.google.protobuf.ByteString)
if specified, attr must have type "type"
string type_attr = 4;
công khai OpDef.ArgDef.Builder setTypeListAttr (Giá trị chuỗi)
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
công khai OpDef.ArgDef.Builder setTypeListAttrBytes (giá trị com.google.protobuf.ByteString)
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
công khai OpDef.ArgDef.Builder setTypeValue (giá trị int)
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;