AxeraNPU.Model (axera_npu v0.2.0)

Copy Markdown View Source

A model loaded onto the NPU, from AxeraNPU.load/1, with its inputs and outputs in order. It holds NPU memory until it is garbage collected.

Summary

Types

t()

@type t() :: %AxeraNPU.Model{
  inputs: [AxeraNPU.Tensor.t()],
  outputs: [AxeraNPU.Tensor.t()],
  ref: reference()
}