r""" Removes entries smaller than the given threshold from the sparse tensor. This function follows the api from :any:`scipy.sparse.csr_matrix.eliminate_zeros` See: https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.sparse.csr_matrix.eliminate_zeros.html
(self, a, threshold=0.0)
| 820 | raise NotImplementedError() |
| 821 | |
| 822 | def eliminate_zeros(self, a, threshold=0.0): |
| 823 | r""" |
| 824 | Removes entries smaller than the given threshold from the sparse tensor. |
| 825 | |
| 826 | This function follows the api from :any:`scipy.sparse.csr_matrix.eliminate_zeros` |
| 827 | |
| 828 | See: https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.sparse.csr_matrix.eliminate_zeros.html |
| 829 | """ |
| 830 | raise NotImplementedError() |
| 831 | |
| 832 | def todense(self, a): |
| 833 | r""" |
no outgoing calls