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
Hi, Thanks for the adding functional features to Pytorch. I want to use a nn.Module converted into a functional form inside a usual stateful nn.Module. However, the code below does not correctly register the parameters for the functional module. Is there a way to do this currently?
Hi, Thanks for the adding functional features to Pytorch. I want to use a
nn.Module
converted into a functional form inside a usual statefulnn.Module
. However, the code below does not correctly register the parameters for the functional module. Is there a way to do this currently?This is useful for me as I want to use functional operations over an inner
nn.Module
(such as vmap, jvp, vip) inside the forward pass of an outernn.Module
. The idea is to be able to have a lifted version of vjp, jvp, etc, similar to Flax (https://flax.readthedocs.io/en/latest/api_reference/_autosummary/flax.linen.vjp.html).The text was updated successfully, but these errors were encountered: