Closed edpizzi closed 3 years ago
Summary: The issue is that the code provides max as a tensor to torch.randint, which expects only scalars, unlike the numpy equivalent.
torch.randint
Differential Revision: D30761197
This pull request was exported from Phabricator. Differential Revision: D30761197
Summary: The issue is that the code provides max as a tensor to
torch.randint
, which expects only scalars, unlike the numpy equivalent.Differential Revision: D30761197