torch.nn.TransformerEncoderLayer - Part 4 - Transformer Encoder Fully Connected Layers

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии •

  • @alokkumarsingh4641
    @alokkumarsingh4641 8 месяцев назад

    but in fully connected layer a 1D vector is passed so the 3*2 matrix will be flattened out right? so how are we defining the shape of weights and bias it should be (6*1)