Skip to content
Discussion options

You must be logged in to vote

Your first nn needs to be initialized as:

nn1 = nn.Sequential(nn.Linear(4, 25), nn.ReLU(), nn.Linear(25, 7 * 32))

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@adhikarirsr
Comment options

@rusty1s
Comment options

Answer selected by adhikarirsr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants