Skip to main content

model_from_str

Function model_from_str 

Source
pub fn model_from_str(model_type: &str) -> Option<Box<dyn Model>>
Expand description

Dispatch a model type string to a boxed Model implementation.

Returns None for unknown type strings.