Module ml::tensor_vdsp
vDSP-accelerated elementwise Tensor ops (see tensor_vdsp.sc). Same Autograd::get math/backward wiring as tensor.h's plain tensor_add/sub/mul/sum (reuses __add_backward/__sub_backward/ __mul_backward/__sum_backward directly — only the forward computation changes), just vectorized via Accelerate's vDSP instead of a scalar loop. Link with '-framework Accelerate', same as tensor_blas.sc.
Functions
| tensor_add_vdsp | Accelerate is Apple-only. Elsewhere the same functions are std's own vectorized, threaded tensor ops (tensor.h), so tensor_auto.h and direct callers work -- and link -- on every hosted platform. |
| tensor_sub_vdsp | |
| tensor_mul_vdsp |