# `BB.Inference.LoadedModel`
[🔗](https://github.com/beam-bots/bb_inference/blob/main/lib/bb/inference/loaded_model.ex#L5)

A model that has loaded and whose codec fits it, as
`BB.Inference.loaded_model/2` returns it.

Everything a component needs to run inference through
`BB.Inference.infer/4`. It holds no runtime handle; the model itself stays
in its own process.

# `t`

```elixir
@type t() :: %BB.Inference.LoadedModel{
  codec: module(),
  codec_state: term(),
  description: BB.Inference.Description.t(),
  labels: [String.t()],
  name: atom()
}
```

---

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