commit 4309f2a649fc7cfe7160389d52a81c469dbdd7bc Author: sophgo-forum-service <forum_service@sophgo.com> Date: Mon May 13 14:11:17 2024 +0800 [feat] cvibuilder opensource for cv18xx soc. - 60a1a5
46 lines
604 B
Plaintext
46 lines
604 B
Plaintext
namespace cvi.cpu_op;
|
|
|
|
table IntAttr {
|
|
key:string;
|
|
value:int;
|
|
}
|
|
|
|
table FloatAttr {
|
|
key:string;
|
|
value:float;
|
|
}
|
|
|
|
table BoolAttr {
|
|
key:string;
|
|
value:bool;
|
|
}
|
|
|
|
table StrAttr {
|
|
key:string;
|
|
value:string;
|
|
}
|
|
|
|
table IntArrayAttr {
|
|
key:string;
|
|
value:[int];
|
|
}
|
|
|
|
table FloatArrayAttr {
|
|
key:string;
|
|
value:[float];
|
|
}
|
|
|
|
table Attribute {
|
|
float_attr:FloatAttr;
|
|
bool_attr:BoolAttr;
|
|
int_attr:IntAttr;
|
|
str_attr:StrAttr;
|
|
float_array_attr:FloatArrayAttr;
|
|
int_array_attr:IntArrayAttr;
|
|
}
|
|
|
|
table Parameter {
|
|
attributes:[Attribute];
|
|
}
|
|
|
|
root_type Parameter; |