onnx到nnoir转换器
nnoir-onnx的Python项目详细描述
nnoir onnx
nnoir onnx是从onnx模型到nnoir模型的转换器。
安装
pip install nnoir-onnx
示例
wget https://www.cntk.ai/OnnxModels/mnist/opset_7/mnist.tar.gz tar xvzf mnist.tar.gz onnx2nnoir -o model.nnoir mnist/model.onnx
支持onnx运算符
- Add
- AveragePool
- BatchNormalization
- Clip
min
必须为0
- Concat
- Conv
- Dropout
- 等效同一函数
- Gemm
- LRN
- MatMul
B
必须是Constant值或具有初始值设定项值
- MaxPool
- Pad
mode
必须是"constant"
- Relu
- Reshape
- Softmax
- Sum
- 2个输入
- Tanh
- Transpose