will-maclean / sb3-burn

Implementation of stable-baselines3 in rust with burn
MIT License
11 stars 0 forks source link

Make types nices #8

Closed will-maclean closed 4 weeks ago

will-maclean commented 1 month ago

e.g. this is how a OfflineTrainer is created:

let mut trainer = OfflineTrainer::<Adam<<Autodiff<NdArray> as AutodiffBackend>::InnerBackend>, TrainingBacked>::new(...);

Surely there's a more concise way to specify types