AxeraNPU.Tensor (axera_npu v0.2.0)

Copy Markdown View Source

An input or output of a model: its name, its type and shape as Nx writes them ({:u, 8}, {1, 224, 224, 3}), and its size in bytes.

Summary

Types

t()

@type t() :: %AxeraNPU.Tensor{
  name: String.t(),
  shape: tuple(),
  size: pos_integer(),
  type: {:f | :u | :s, pos_integer()}
}