BB.Inference.ModelRef (bb_inference v0.1.0)

Copy Markdown View Source

The option type behind BB.Inference.model_ref/1.

Option validation only sees the value, so this only checks it is a name. That the robot declares the model, and that its codec performs the task the option asks for, is checked against the whole robot by BB.Inference.Transformers.ValidateModelReferences when the robot compiles.