Skip to content

Fix invalidArguments for functions with tuple outputs, but no other arguments#468

Merged
soumith merged 1 commit intopytorch:masterfrom
colesbury:invalidArguments
Jan 18, 2017
Merged

Fix invalidArguments for functions with tuple outputs, but no other arguments#468
soumith merged 1 commit intopytorch:masterfrom
colesbury:invalidArguments

Conversation

@colesbury
Copy link
Member

For example:

torch.randn(5, 5).geqrf('invalid arg')
TypeError: geqrf received an invalid combination of arguments - got (str), but expected ()

arguments.

For example:

   >>> torch.randn(5, 5).geqrf('invalid arg')
   TypeError: geqrf received an invalid combination of arguments - got (str), but expected ()
@soumith soumith merged commit 473e795 into pytorch:master Jan 18, 2017
ashishfarmer pushed a commit to ashishfarmer/pytorch that referenced this pull request Oct 3, 2019
jjsjann123 pushed a commit to jjsjann123/pytorch that referenced this pull request Nov 25, 2020
* Add test cases

* Fix pytorch#468

* Fix thread predicate for GridReduction

When TIDx/y/z are predicated, set the TIDx/y/z template flags as false

Closes pytorch#367

* cleanup

* clang-tidy

* Delete accidentally added file

* Remove unnecessary include

* PR feedback

* clang-format

* Add a comment on GridReduction::thread_predicate_
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