Returns the column indices of the non-zero elements. Returns ------- torch.Tensor Column indices of the non-zero elements
(self)
| 82 | |
| 83 | @property |
| 84 | def col(self) -> torch.Tensor: |
| 85 | """Returns the column indices of the non-zero elements. |
| 86 | |
| 87 | Returns |
| 88 | ------- |
| 89 | torch.Tensor |
| 90 | Column indices of the non-zero elements |
| 91 | """ |
| 92 | return self.coo()[1] |
| 93 | |
| 94 | def coo(self) -> Tuple[torch.Tensor, torch.Tensor]: |
| 95 | r"""Returns the coordinate list (COO) representation of the sparse |