Skip to content

Commit

Permalink
generated kconfig files and opsets
Browse files Browse the repository at this point in the history
  • Loading branch information
nopeslide committed Mar 4, 2021
1 parent da76426 commit 3b87255
Show file tree
Hide file tree
Showing 87 changed files with 1,464 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/operators/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rsource "*/Kconfig"
rsource "*.Kconfig"
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/Add/7/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menuconfig HAVE_OPERATOR__AI_ONNX__ADD__7
bool "7"
help
Enable domain 'ai.onnx' operator 'Add' version '7'
default y
if HAVE_OPERATOR__AI_ONNX__ADD__7
rsource "*.Kconfig"
endif
44 changes: 44 additions & 0 deletions src/operators/ai.onnx/Add/7/tensor.Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
menu "tensor types"
config HAVE_TYPE_TENSOR__AI_ONNX__ADD__7__TENSOR_FLOAT
bool "tensor_float"
depends on HAVE_TYPE_TENSOR__TENSOR_FLOAT
help
Enable tensor 'tensor_float' type for domain 'ai.onnx' operator 'Add' version '7'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ADD__7__TENSOR_INT32
bool "tensor_int32"
depends on HAVE_TYPE_TENSOR__TENSOR_INT32
help
Enable tensor 'tensor_int32' type for domain 'ai.onnx' operator 'Add' version '7'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ADD__7__TENSOR_UINT32
bool "tensor_uint32"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT32
help
Enable tensor 'tensor_uint32' type for domain 'ai.onnx' operator 'Add' version '7'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ADD__7__TENSOR_INT64
bool "tensor_int64"
depends on HAVE_TYPE_TENSOR__TENSOR_INT64
help
Enable tensor 'tensor_int64' type for domain 'ai.onnx' operator 'Add' version '7'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ADD__7__TENSOR_DOUBLE
bool "tensor_double"
depends on HAVE_TYPE_TENSOR__TENSOR_DOUBLE
help
Enable tensor 'tensor_double' type for domain 'ai.onnx' operator 'Add' version '7'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ADD__7__TENSOR_FLOAT16
bool "tensor_float16"
depends on HAVE_TYPE_TENSOR__TENSOR_FLOAT16
help
Enable tensor 'tensor_float16' type for domain 'ai.onnx' operator 'Add' version '7'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ADD__7__TENSOR_UINT64
bool "tensor_uint64"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT64
help
Enable tensor 'tensor_uint64' type for domain 'ai.onnx' operator 'Add' version '7'.
default y
endmenu
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/Add/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menuconfig HAVE_OPERATOR__AI_ONNX__ADD
bool "Add"
default y
help
Enable the domain 'ai.onnx' operator 'Add'
if HAVE_OPERATOR__AI_ONNX__ADD
rsource "*/Kconfig"
endif
2 changes: 2 additions & 0 deletions src/operators/ai.onnx/Add/opname_operator__ai_onnx__add.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ extern operator_set_opversion opversion_operator__ai_onnx__add__7;
operator_set_opname opname_operator__ai_onnx__add = {
.name = "Add",
.opversions = {
#ifdef CONFIG_HAVE_OPERATOR__AI_ONNX__ADD__7
&opversion_operator__ai_onnx__add__7,
#endif
NULL
}
};
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/ArgMax/12/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menuconfig HAVE_OPERATOR__AI_ONNX__ARGMAX__12
bool "12"
help
Enable domain 'ai.onnx' operator 'ArgMax' version '12'
default y
if HAVE_OPERATOR__AI_ONNX__ARGMAX__12
rsource "*.Kconfig"
endif
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/ArgMax/12/attribute.Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menu "attribute types"
config HAVE_TYPE_ATTRIBUTE__AI_ONNX__ARGMAX__12__INT
bool "INT"
depends on HAVE_TYPE_ATTRIBUTE__INT
help
Enable attribute 'INT' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
endmenu
68 changes: 68 additions & 0 deletions src/operators/ai.onnx/ArgMax/12/tensor.Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
menu "tensor types"
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_FLOAT
bool "tensor_float"
depends on HAVE_TYPE_TENSOR__TENSOR_FLOAT
help
Enable tensor 'tensor_float' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_INT8
bool "tensor_int8"
depends on HAVE_TYPE_TENSOR__TENSOR_INT8
help
Enable tensor 'tensor_int8' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_INT64
bool "tensor_int64"
depends on HAVE_TYPE_TENSOR__TENSOR_INT64
help
Enable tensor 'tensor_int64' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_DOUBLE
bool "tensor_double"
depends on HAVE_TYPE_TENSOR__TENSOR_DOUBLE
help
Enable tensor 'tensor_double' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_FLOAT16
bool "tensor_float16"
depends on HAVE_TYPE_TENSOR__TENSOR_FLOAT16
help
Enable tensor 'tensor_float16' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_INT16
bool "tensor_int16"
depends on HAVE_TYPE_TENSOR__TENSOR_INT16
help
Enable tensor 'tensor_int16' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_UINT64
bool "tensor_uint64"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT64
help
Enable tensor 'tensor_uint64' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_INT32
bool "tensor_int32"
depends on HAVE_TYPE_TENSOR__TENSOR_INT32
help
Enable tensor 'tensor_int32' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_UINT32
bool "tensor_uint32"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT32
help
Enable tensor 'tensor_uint32' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_UINT8
bool "tensor_uint8"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT8
help
Enable tensor 'tensor_uint8' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__ARGMAX__12__TENSOR_UINT16
bool "tensor_uint16"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT16
help
Enable tensor 'tensor_uint16' type for domain 'ai.onnx' operator 'ArgMax' version '12'.
default y
endmenu
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/ArgMax/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menuconfig HAVE_OPERATOR__AI_ONNX__ARGMAX
bool "ArgMax"
default y
help
Enable the domain 'ai.onnx' operator 'ArgMax'
if HAVE_OPERATOR__AI_ONNX__ARGMAX
rsource "*/Kconfig"
endif
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ extern operator_set_opversion opversion_operator__ai_onnx__argmax__12;
operator_set_opname opname_operator__ai_onnx__argmax = {
.name = "ArgMax",
.opversions = {
#ifdef CONFIG_HAVE_OPERATOR__AI_ONNX__ARGMAX__12
&opversion_operator__ai_onnx__argmax__12,
#endif
NULL
}
};
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/BatchNormalization/9/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menuconfig HAVE_OPERATOR__AI_ONNX__BATCHNORMALIZATION__9
bool "9"
help
Enable domain 'ai.onnx' operator 'BatchNormalization' version '9'
default y
if HAVE_OPERATOR__AI_ONNX__BATCHNORMALIZATION__9
rsource "*.Kconfig"
endif
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/BatchNormalization/9/attribute.Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menu "attribute types"
config HAVE_TYPE_ATTRIBUTE__AI_ONNX__BATCHNORMALIZATION__9__FLOAT
bool "FLOAT"
depends on HAVE_TYPE_ATTRIBUTE__FLOAT
help
Enable attribute 'FLOAT' type for domain 'ai.onnx' operator 'BatchNormalization' version '9'.
default y
endmenu
20 changes: 20 additions & 0 deletions src/operators/ai.onnx/BatchNormalization/9/tensor.Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
menu "tensor types"
config HAVE_TYPE_TENSOR__AI_ONNX__BATCHNORMALIZATION__9__TENSOR_FLOAT
bool "tensor_float"
depends on HAVE_TYPE_TENSOR__TENSOR_FLOAT
help
Enable tensor 'tensor_float' type for domain 'ai.onnx' operator 'BatchNormalization' version '9'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__BATCHNORMALIZATION__9__TENSOR_DOUBLE
bool "tensor_double"
depends on HAVE_TYPE_TENSOR__TENSOR_DOUBLE
help
Enable tensor 'tensor_double' type for domain 'ai.onnx' operator 'BatchNormalization' version '9'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__BATCHNORMALIZATION__9__TENSOR_FLOAT16
bool "tensor_float16"
depends on HAVE_TYPE_TENSOR__TENSOR_FLOAT16
help
Enable tensor 'tensor_float16' type for domain 'ai.onnx' operator 'BatchNormalization' version '9'.
default y
endmenu
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/BatchNormalization/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menuconfig HAVE_OPERATOR__AI_ONNX__BATCHNORMALIZATION
bool "BatchNormalization"
default y
help
Enable the domain 'ai.onnx' operator 'BatchNormalization'
if HAVE_OPERATOR__AI_ONNX__BATCHNORMALIZATION
rsource "*/Kconfig"
endif
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ extern operator_set_opversion opversion_operator__ai_onnx__batchnormalization__9
operator_set_opname opname_operator__ai_onnx__batchnormalization = {
.name = "BatchNormalization",
.opversions = {
#ifdef CONFIG_HAVE_OPERATOR__AI_ONNX__BATCHNORMALIZATION__9
&opversion_operator__ai_onnx__batchnormalization__9,
#endif
NULL
}
};
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/Clip/12/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menuconfig HAVE_OPERATOR__AI_ONNX__CLIP__12
bool "12"
help
Enable domain 'ai.onnx' operator 'Clip' version '12'
default y
if HAVE_OPERATOR__AI_ONNX__CLIP__12
rsource "*.Kconfig"
endif
68 changes: 68 additions & 0 deletions src/operators/ai.onnx/Clip/12/tensor.Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
menu "tensor types"
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_FLOAT
bool "tensor_float"
depends on HAVE_TYPE_TENSOR__TENSOR_FLOAT
help
Enable tensor 'tensor_float' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_INT8
bool "tensor_int8"
depends on HAVE_TYPE_TENSOR__TENSOR_INT8
help
Enable tensor 'tensor_int8' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_INT64
bool "tensor_int64"
depends on HAVE_TYPE_TENSOR__TENSOR_INT64
help
Enable tensor 'tensor_int64' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_DOUBLE
bool "tensor_double"
depends on HAVE_TYPE_TENSOR__TENSOR_DOUBLE
help
Enable tensor 'tensor_double' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_FLOAT16
bool "tensor_float16"
depends on HAVE_TYPE_TENSOR__TENSOR_FLOAT16
help
Enable tensor 'tensor_float16' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_INT16
bool "tensor_int16"
depends on HAVE_TYPE_TENSOR__TENSOR_INT16
help
Enable tensor 'tensor_int16' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_UINT64
bool "tensor_uint64"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT64
help
Enable tensor 'tensor_uint64' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_INT32
bool "tensor_int32"
depends on HAVE_TYPE_TENSOR__TENSOR_INT32
help
Enable tensor 'tensor_int32' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_UINT32
bool "tensor_uint32"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT32
help
Enable tensor 'tensor_uint32' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_UINT8
bool "tensor_uint8"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT8
help
Enable tensor 'tensor_uint8' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
config HAVE_TYPE_TENSOR__AI_ONNX__CLIP__12__TENSOR_UINT16
bool "tensor_uint16"
depends on HAVE_TYPE_TENSOR__TENSOR_UINT16
help
Enable tensor 'tensor_uint16' type for domain 'ai.onnx' operator 'Clip' version '12'.
default y
endmenu
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/Clip/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menuconfig HAVE_OPERATOR__AI_ONNX__CLIP
bool "Clip"
default y
help
Enable the domain 'ai.onnx' operator 'Clip'
if HAVE_OPERATOR__AI_ONNX__CLIP
rsource "*/Kconfig"
endif
2 changes: 2 additions & 0 deletions src/operators/ai.onnx/Clip/opname_operator__ai_onnx__clip.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ extern operator_set_opversion opversion_operator__ai_onnx__clip__12;
operator_set_opname opname_operator__ai_onnx__clip = {
.name = "Clip",
.opversions = {
#ifdef CONFIG_HAVE_OPERATOR__AI_ONNX__CLIP__12
&opversion_operator__ai_onnx__clip__12,
#endif
NULL
}
};
8 changes: 8 additions & 0 deletions src/operators/ai.onnx/Constant/12/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
menuconfig HAVE_OPERATOR__AI_ONNX__CONSTANT__12
bool "12"
help
Enable domain 'ai.onnx' operator 'Constant' version '12'
default y
if HAVE_OPERATOR__AI_ONNX__CONSTANT__12
rsource "*.Kconfig"
endif

0 comments on commit 3b87255

Please sign in to comment.