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
I realized that because TorchScript is statically typed
we would need to infer the types for the forward method
that selects trainforward or evalforward depending on the mode.
We can do this later, but for now I think this fix is also okay.
Resolves Issue mlverse#1252
I realized that because TorchScript is statically typed
we would need to infer the types for the forward method
that selects trainforward or evalforward depending on the mode.
We can do this later, but for now I think this fix is also okay.
Resolves Issue #1252
Below, the input type of the trace-jitted module is inferred as
Tensor
even though it received alist[Tensor]
during tracing.Created on 2025-01-22 with reprex v2.1.1
The text was updated successfully, but these errors were encountered: