clab/dynet
Ver no GitHubConcatenate batch fails if vectors are of sizes (dim,) and (dim, 1)
Open
#531 aberto em 8 de mai. de 2017
good first issuemoderate bug
Métricas do repositório
- Stars
- (3.433 stars)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
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.