Skip to content

Commit

Permalink
[fix] to 'long' for win
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoshe committed Nov 22, 2024
1 parent 201d7a1 commit 9637797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/layer_tests/pytorch_tests/test_index_fill_.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ def test_index_fill_single_index(self, ie_device, precision, ir_version, input_d
shape = self.input_tensor.shape
max_idx = shape[dim]
n_select = np.random.randint(1, max_idx + 1)
index = torch.from_numpy(np.random.choice(np.arange(0, max_idx), n_select, replace=False))
index = torch.from_numpy(np.random.choice(np.arange(0, max_idx), n_select, replace=False)).to(torch.long)
self._test(*self.create_model(dim, index, values), ie_device, precision, ir_version)

0 comments on commit 9637797

Please sign in to comment.