Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2026 Changes in this version + func Add(a, b *autograd.Variable) (*autograd.Variable, error) + func MatMul(a, b *autograd.Variable) (*autograd.Variable, error) + func NewTensor[T tensor.Numeric](data []T, shape ...int) (*tensor.Tensor[T], error) + func NewVariable(t *tensor.Tensor[float64], requiresGrad bool) *autograd.Variable + func Ones[T tensor.Numeric](shape ...int) *tensor.Tensor[T] + func SumAll(v *autograd.Variable) (*autograd.Variable, error) + func Zeros[T tensor.Numeric](shape ...int) *tensor.Tensor[T]