topk()
cannot be used with complex
or bool
type of a 0D(only cuda
) or more D tensor but topk()
can be used with complex
or bool
type of a 0D(only cpu
) tensor
#126659
Labels
actionable
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 topk() cannot be used with
complex
orbool
type of a 0D(onlycuda
) or more D tensor according to the errors as shown below:complex
type of a 0D(onlycuda
) tensor:bool
type of a 0D(onlycuda
) tensor: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 topk() can be used with
complex
orbool
type of a 0D(onlycpu
) tensor as shown below:complex
type of a 0D(onlycpu
) tensor:bool
type of a 0D tensor:Versions
The text was updated successfully, but these errors were encountered: