clab/dynet

Concatenate batch fails if vectors are of sizes (dim,) and (dim, 1)

Open

#531 aperta il 8 mag 2017

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)C++ (701 fork)github user discovery
good first issuemoderate bug

Metriche repository

Star
 (3433 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Hi! The title sums it up. If you try to concatenate d-dimensional vectors but some vectors' shape is (d,) while others is (d, 1), dynet.concatenate_batch fails. However, if you do dynet.concatenate_cols and then a reshape, everything works fine.

Guida contributor