Closed
Description
Motivation
I think we can refactor torchrl.objectives for functional programming.
Solution
maybe change the inheritance of nn.modules, cc @waterhorse1
Checklist
- I have checked that there is no similar issue in the repo (required)