tensor

v1.0.0 AI & Deep Learning

Multi-dimensional tensor arithmetic (1D..4D) with SIMD and GPU matrix acceleration.

Publisher: Rohit Pathak (TEZZCORP PRIVATE LIMITED) • License: MIT • Downloads: 2,270

Installation & Inclusion

Run from your project root:

tezz install tensor

Or add directly to tezz.mod:

dep.tensor = 1.0.0

Example Usage in TezzNative

import tensor

fn main() -> int:
  a:Tensor = tensor.zeros([2, 4], tensor.FLOAT32)
  b:Tensor = tensor.ones([4, 2], tensor.FLOAT32)
  c:Tensor = tensor.matmul(a, b)
  say "Matrix product shape: " + c.shape_str()
  ret 0

Cryptographic Integrity (SHA-256)

c11a043ae4a4397db6175f489f3d6525c522f57edfa30041a1ad9ad5e5f8aaa5