returnn.frontend.conversions.torch_nn
¶
Import some of the torch.nn modules.
- returnn.frontend.conversions.torch_nn.import_params_torch_linear_to_rf(model_pt: torch.nn.Linear, model_rf: rf.Linear)[source]¶
import params from torch.nn.Linear to rf.Linear