Correctly handling variable with batch dimension for math ops.
When the second argument contains batch dimension, the axis should be 0. Also makes elementwise ops more tolerant at handling tensors with trailing singular dimensions.
Showing
想要评论请 注册 或 登录