--
← Back to docs

GPU & Tensors

Tensor Operations


NSL supports GPU-accelerated tensor math via CUDA on supported hardware.

let t = tensor.create([2, 3], [1,2,3,4,5,6])
let r = tensor.matmul(a, b)