I would like to know how one can measure the memory consumption of a sparse tensor in pytorch
i = [[0, 1, 1],
v = [3, 4, 5]
s = torch.sparse_coo_tensor(i, v, (2, 3))
I would like to know how one can measure the memory consumption of a sparse tensor in pytorch
i = [[0, 1, 1],
v = [3, 4, 5]
s = torch.sparse_coo_tensor(i, v, (2, 3))