Skip to content

Instantly share code, notes, and snippets.

@pythonlessons
Created August 22, 2023 14:47
Show Gist options
  • Save pythonlessons/09f89f73b744d229f33fce12ae2d028c to your computer and use it in GitHub Desktop.
Save pythonlessons/09f89f73b744d229f33fce12ae2d028c to your computer and use it in GitHub Desktop.
build_transformer
__________________________________________________________________________________________________
Layer (type) Output Shape Param # Connected to
==================================================================================================
input_7 (InputLayer) [(None, 100)] 0 []
input_8 (InputLayer) [(None, 110)] 0 []
encoder_4 (Encoder) (None, 100, 512) 5768192 ['input_7[0][0]']
decoder_5 (Decoder) (None, 110, 512) 9971712 ['input_8[0][0]',
'encoder_4[0][0]']
dense_51 (Dense) (None, 110, 1000) 513000 ['decoder_5[0][0]']
==================================================================================================
Total params: 16,252,904
Trainable params: 16,252,904
Non-trainable params: 0
__________________________________________________________________________________________________
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment