tensordict.nn.repopulate_module¶
- tensordict.nn.repopulate_module(model: Module, tensordict: TensorDict) Module ¶
Repopulates a module with its parameters, presented as a nested TensorDict.
Repopulates a module with its parameters, presented as a nested TensorDict.