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

AINNNodeDescription

NN node description, which is used for describing the model, input tensor, and output tensor required by an NN node. For details, see ai_types.proto.

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