oriondollar / TransVAE

A Transformer Based VAE Architecture for De Novo Molecular Design
MIT License
88 stars 23 forks source link

Why discard the last dimension for target #6

Closed zhikaili closed 2 years ago

zhikaili commented 2 years ago

Hi,

I find that tgt has one less dimension than src (please see here). The discarded dimension is the last dimension, which should correspond to some paddings. May I ask why discard this dimension? Thank you and look forward to your reply!

zhikaili commented 2 years ago

Hi, I have figured it out. Thank you.