kthvalue()
cannot be used with complex
or bool
type of a 1D or more D tensor but kthvalue()
can be used with complex
or bool
type of a 0D tensor
#126658
Labels
module: edge cases
Adversarial inputs unlikely to occur in practice
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
It seems like kthvalue() cannot be used with
complex
type of a 1D or more D tensor according to the errors as shown below:complex
type of a 1D tensor:bool
type of a 1D tensor:complex
type of a 2D tensor:bool
type of a 2D tensor:But kthvalue() can be used with
complex
orbool
type of a 0D tensor as shown below:complex
type of a 0D tensor:bool
type of a 0D tensor:Versions
The text was updated successfully, but these errors were encountered: