pub trait Adaptor<T> {
// Required method
fn adapt(&self) -> T;
}
Expand description
Adaptor are used to transform types so that they can be used by metrics.
This should be implemented by a model’s output type for all metric inputs that are registered with the leaner buidler .