Bolt
|
Flow graph defination. More...
Go to the source code of this file.
Variables | |
syntax = "proto2" | |
package | flow |
message | GraphParameter |
repeated string | input = 2 |
repeated string | output = 3 |
repeated NodeParameter | node = 4 |
message | NodeParameter |
optional string | type = 2 |
optional string | input_type = 3 |
optional string | input_format = 4 |
repeated int32 | input_dim = 5 |
optional uint32 | tmp = 8 [default = 0] |
optional string | precision = 9 [default = "FLOAT32"] |
repeated string | infer_output_size_parameter = 10 |
repeated string | preprocess_parameter = 11 |
repeated string | inference_parameter = 12 |
repeated string | postprocess_parameter = 13 |
Flow graph defination.
Definition in file flow.proto.
message GraphParameter |
flow graph defination
Definition at line 27 of file flow.proto.
repeated string infer_output_size_parameter = 10 |
self-defined infer node output size function parameter parameter use array to manage, [function name, other parameters] other paramaters are optional
Definition at line 77 of file flow.proto.
repeated string inference_parameter = 12 |
self-defined inference parameter parameter use array to manage, [inference model path, model output] model output paramaters are optional when there is no postprocess function.
Definition at line 89 of file flow.proto.
repeated string input = 2 |
repeated int32 input_dim = 5 |
node input dimension, only input node use this information
Definition at line 60 of file flow.proto.
optional string input_format = 4 |
node input data format, only input node use this information candidates are NCHW, NCHWC8, MTK, NORMAL
Definition at line 58 of file flow.proto.
optional string input_type = 3 |
node input data type, only input node use this information candidates are FLOAT32, FLOAT16, UINT32, INT8
Definition at line 53 of file flow.proto.
repeated NodeParameter node = 4 |
node parameter
Definition at line 35 of file flow.proto.
message NodeParameter |
flow node defination
Definition at line 39 of file flow.proto.
repeated string output = 3 |
repeated string postprocess_parameter = 13 |
self-defined postprocess function parameter parameter use array to manage, [postprocess function name, other parameters] other paramaters are optional
Definition at line 95 of file flow.proto.
optional string precision = 9 [default = "FLOAT32"] |
node inference precision, support prefered process precision
Definition at line 70 of file flow.proto.
repeated string preprocess_parameter = 11 |
self-defined preprocess function parameter parameter use array to manage, [preprocess function name, other parameters] other paramaters are optional
Definition at line 83 of file flow.proto.
optional uint32 tmp = 8 [default = 0] |
preprocess and postprocess tmp bufer size, element number, not bytes
Definition at line 68 of file flow.proto.
optional string type = 2 |
node type type='Input' to mark node as an input node type='Inference' to mark node as an inference node
Definition at line 47 of file flow.proto.