-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
self.w_q = Linear([d_model, d_k * n_heads])
TypeError Traceback (most recent call last)
in
2 d_k = 16
3 n_heads = 6
----> 4 w_q = Linear([d_model, d_k * n_heads])
5 w_q
TypeError: init() missing 1 required positional argument: 'out_features'
thx for your sharing, but I raise this error, can you give me some advice?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels