-
as i known,"self.forward() "is called in "call()",there are some hooks in it。 we should avoid calling Module.forward. But i find the function "forward" is called in function "optimize_parameters". Are there some influences,result in it ? |
Beta Was this translation helpful? Give feedback.
Answered by
junyanz
Mar 14, 2023
Replies: 1 comment
-
We are using BaseModel class here. It's not a Module class. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
junyanz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are using BaseModel class here. It's not a Module class.