Skip to main content

Module

type Module interface {
Forward(input *clikart.Tensor) (*clikart.Tensor, error)
}

Module is one runnable unit: Forward runs it without consuming the input and returns a fresh caller-owned tensor.