BB.Inference.Transformers.ValidateModelReferences (bb_inference v0.1.0)

Copy Markdown View Source

Checks that every component option typed with BB.Inference.model_ref/1 names a model this robot declares, and that the model's codec performs the task the option asks for.

A transformer rather than a verifier, so that a wrong reference fails the build: Spark reports verifier errors as warnings and compiles the module anyway.

Summary

Functions

after_compile?()

Callback implementation for Spark.Dsl.Transformer.after_compile?/0.