参考资料

Python array operations ⭐️

NDArray

代码实现

CPU Backend ⭐️

Compact and setitem

Elementwise and scalar operations

Reductions

Matrix multiplication

CUDA Backend ⭐️

Compact and setitem

Elementwise and scalar operations

Reductions

Matrix multiplication