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

AIAPIDescription

API description, which is used for describing the name, input tensor, and output tensor of an API. For details, see ai_types.proto.

message AIAPIDescription
{
    string name = 1; // API name
    string desc = 2; // API description
    bool isPreAllocateOutputMem = 3; // Whether to pre-allocate the output memory
   AIConfig config = 4; // Configuration parameter
    repeated AITensorDescription inputs = 5; // Description of input tensors
    repeated AITensorDescription outputs = 6; // Description of output tensors
    bool need_verify = 7; // Whether to verify the tensor match during serial connection
    repeated string ignored_check_aitensor = 8; // Specifies the list of tensors for which the mechanism for verifying whether they match the tensors of the inputs is ignored during serial connection.
};