# tensorplay.to_sparse Source: https://www.tensorplay.cn/docs/generated/tensorplay.to_sparse.html ```python tensorplay.to_sparse(input, sparse_dim=None) ```