MODULE_08_PYTORCH_PAPER_REPLICATING_SECTION_ 6.2_Replicating_Equation_3_with_PyTorch_layers #1187
Krishanu2206
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
SECTION DOUBT LINK : https://www.learnpytorch.io/08_pytorch_paper_replicating/#62-replicating-equation-3-with-pytorch-layers
Q - Can I use the MLP module given in the
torchvision.ops
documentation directly here? MLP :https://pytorch.org/vision/main/generated/torchvision.ops.MLP.html#torchvision.ops.MLP
I am attaching my code here :
CODE :
OUTPUT :
CODE :
OUTPUT :
The only difference in the
MLP module
and theMLP module in the video
is the placement of thetorch.nn.LayerNorm()
.Beta Was this translation helpful? Give feedback.
All reactions