-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
- sparsemax version: pip latest
- Python version: 3.8
- Operating System: Ubuntu 20.04
Description
Sparsemax fails for 1D tensors
What I Did
>>> import torch
>>> from sparsemax import Sparsemax
>>> Sparsemax()(torch.rand(10))
RuntimeError: expand(torch.LongTensor....
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels