Skip to content

Don't allow scalars where vectors are required in mv, addmv, ger, addr.#5003

Merged
gchanan merged 5 commits intopytorch:masterfrom
gchanan:scalar_linear_algebra
Feb 5, 2018
Merged

Don't allow scalars where vectors are required in mv, addmv, ger, addr.#5003
gchanan merged 5 commits intopytorch:masterfrom
gchanan:scalar_linear_algebra

Conversation

@gchanan
Copy link
Copy Markdown
Contributor

@gchanan gchanan commented Feb 1, 2018

No description provided.

Comment thread aten/src/ATen/native/LinearAlgebra.cpp Outdated
}

static void check_1d(const Tensor& t, const char* arg, const char* fn) {
if (t.dim() == 0) {

This comment was marked as off-topic.

This comment was marked as off-topic.

@gchanan gchanan merged commit f4a2b0e into pytorch:master Feb 5, 2018
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…r. (pytorch#5003)

* Don't allow scalars where vectors are required in mv, addmv, ger, addr.

* Fix scalar_tensor_test for ger.

* Address review comments.

* Fix merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants