You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have a PredictError enum that has InvalidTargetShape as a variant. The error type will only contain error variants that makes sense to panic on. For now we only care about shape mismatches.
We could add a version of
Predict::predict
which would write the output to a buffer instead of allocating the output.Something like
PredictInplace::predict_inplace
. With a signature likefn predict_inplace(&self, x: &R, y: &mut T)
.Implementation
predict_inplace
predict_inplace
Update algorithms
The text was updated successfully, but these errors were encountered: