Add new operators to MNN through a staged workflow covering data definitions, output shapes, computation, and tests. It prioritizes combining existing operators, with CPU implementations and additional hardware backends used when needed.
中文简介正在准备中。当前显示英语简介。
- Adding a new operator to MNN
- Implementing output shape calculations
- Combining existing operators for new operations
alibaba/MNN☆ 1.6万2026年10月16日 更新
Triage incorrect MNN outputs and regressions by matching symptoms to focused debugging guides. Use backend comparisons, minimal reproductions, and controlled experiments to investigate memory issues, quantization, concurrency, numeric limits, caches, and inconsistent results across runs.
中文简介正在准备中。当前显示英语简介。
- Investigating garbled or degraded MNN output
- Comparing results across execution backends
- Tracking regressions after optimization changes
alibaba/MNN☆ 1.6万2026年10月16日 更新
Find the right workflow for MNN CPU work, from investigating slow execution to implementing calculation routines and planning tests. Compare ARM, x86_64, and RISC-V backend structures before choosing the relevant guidance.
中文简介正在准备中。当前显示英语简介。
- Choosing where to start an MNN CPU performance investigation
- Finding guidance for CPU kernel implementation
- Comparing ARM, x86_64, and RISC-V backend structures
alibaba/MNN☆ 1.6万2026年10月16日 更新
Develop or port CPU kernels, the low-level calculation routines used by MNN. Follow staged implementation guidance, check data layout agreements, register functions, and verify correctness across processor instruction sets and numerical precision settings.
中文简介正在准备中。当前显示英语简介。
- Implementing or porting an MNN CPU kernel
- Adding support for a processor instruction set
- Changing packed data layouts or tile sizes
alibaba/MNN☆ 1.6万2026年10月16日 更新
Optimize and troubleshoot MNN's Hexagon DSP backend, which runs computation on a dedicated processor. The workflow uses device measurements to identify bottlenecks, compare v79 and v81 architectures, verify correctness, and investigate crashes or memory usage.
中文简介正在准备中。当前显示英语简介。
- Finding bottlenecks in Hexagon operators
- Checking changes on v79 and v81 devices
- Investigating cDSP crashes and device disconnects
alibaba/MNN☆ 1.6万2026年10月16日 更新
Guide MNN Metal backend development and optimization, from finding performance bottlenecks to changing GPU computation, combining operators, and adjusting execution scheduling. A task-based document index directs work toward relevant implementation rules, benchmarks, and correctness checks.
中文简介正在准备中。当前显示英语简介。
- Finding bottlenecks in Metal inference
- Adding or modifying Metal kernels
- Combining operators into one GPU dispatch
alibaba/MNN☆ 1.6万2026年10月16日 更新