labmlai/annotated_deep_learning_paper_implementations

How to instantiate the module

hailuu684 opened this issue · 1 comments

Hello everyone,
How can I instantiate parameters for a model? I followed the tutorial https://nn.labml.ai/transformers/vit/index.html, but when creating VisionTransformer model, the class is not allowed me to pass the parameters, I do not really understand why. Can someone please explain? and why it shows self: Module?
image

I have a mistake which is a typo