Updated on 2022-03-13 GMT+08:00

EngineDesc

This data type is defined in ai_types.proto.

message EngineDesc
{
    enum RunSide
    {
        DEVICE=0;
        HOST=1;
    }
    enum EngineType
    {
        NORMAL=0;
        SOURCE=1;
        DEST=2;
    }
    uint32 id =1; // Engine ID (node)
    EngineType type=2; 
    string name =3; // Engine node name
    repeated string so_name=4; // List of all required DLL .so files
    RunSide side=5; // Run on the host or device.
    int32 priority=6; // Node priority
    uint32 instance_cnt=7; // Number of instances (equivalent to the number of threads)
    repeated uint32 next_node_id=8; // Next node list
    bool user_input_cb=9; // IDE can be ignored.
    bool user_output_cb=10; // IDE can be ignored.
    repeated NodeDesc oper=11; // HIAIEngine node list
}