torch.manual_seed(123) ​ d_in, d_out_kq, d_out_v = 3, 2, 1 ​ sa = SelfAttention(d_in, d_out_kq, d_out_v) print(sa(embedded_sentence))