Crate burn_lm_macros

Crate burn_lm_macros 

Source

Attribute Macros§

inference_server_config
This macro consumes the struct, extracts any #[config(default = ...)] attributes and regenerates a brand-new struct with:
inference_server_registry
This macro implements the new() function for the Registry struct given a list of Inference Server entries. This macro also defines some type aliases to make the generated code more readable. For instance for “MyModel” server_name the macro will define the following types:

Derive Macros§

InferenceServer