# `AxeraNPU.Tensor`
[🔗](https://github.com/cocoa-xu/axera_npu/blob/v0.2.0/lib/axera_npu/tensor.ex#L1)

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.

# `t`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
