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
{{ message }}
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
I guess in this line, linear_layers should be layers_xyz?
In a similar realm, I guess in this line you don't want a skip connection in the last layer? Then i != num_layers - 1 should be i != num_layers - 2, as the for-loop is in range(num_layers - 1) already? i will never be num_layers - 1, so it could happen that you have a skip-connection in the last layer of layers_xyz, e.g. if skip_connect_every=4 and num_layers=10. This should then throw an error in the forward call in this line. As there would be a dimension mismatch.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I guess in this line,
linear_layers
should belayers_xyz
?In a similar realm, I guess in this line you don't want a skip connection in the last layer? Then
i != num_layers - 1
should bei != num_layers - 2
, as the for-loop is inrange(num_layers - 1)
already?i
will never benum_layers - 1
, so it could happen that you have a skip-connection in the last layer oflayers_xyz
, e.g. ifskip_connect_every=4
andnum_layers=10
. This should then throw an error in theforward
call in this line. As there would be a dimension mismatch.The text was updated successfully, but these errors were encountered: