Open cgarciae opened 2 years ago
Now that all basic layers use shape inference it would be better to call the forward method __call__ by default to avoid the problem of submodules not being initialized (or even created) after a call to init if the user forgets to pass the inputs.
__call__
init
Now that all basic layers use shape inference it would be better to call the forward method
__call__
by default to avoid the problem of submodules not being initialized (or even created) after a call toinit
if the user forgets to pass the inputs.