clab/dynet

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

Open

#531 创建于 2017年5月8日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)C++ (701 fork)github user discovery
good first issuemoderate bug

仓库指标

Star
 (3,433 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南