class_docstr: Compressed Sparse Tensor 
class_docstr_tok: ["Compressed","Sparse","Tensor"]
code: def __str__(self):
      sparse_size, dense_size = self.sparse_size()
      return (
          "DeepSpeed.SparseTensor(indices_size={}, values_size={}, "
          "dense_size={}, device={}, reduction_factor={})".format(
              self.indices.size(),
              self.values.size(),
              self.dense_size,
              self.indices.get_device(),
              dense_size / sparse_size,
          )
      )
  
file_path: DeepSpeed/deepspeed/runtime/sparse_tensor.py
imports: import torch
label_desc: Use image node_id 7 for calling the SparseTensor obj's underlying member method code with example usage: obj.__str__() and returns: str