clab/dynet

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

Open

#531 geöffnet am 8. Mai 2017

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (701 Forks)github user discovery
good first issuemoderate bug

Repository-Metriken

Stars
 (3.433 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide