docstr: assert arg0.is_sparse
  x = arg0.coalesce()
  rows, cols = x.indices().unbind(0)
  vals = x.values()
  _coo_to_csr()
docstr_tok: ["assert","arg0.is_sparse","x","=","arg0.coalesce","(",")","rows",",","cols","=","x.indices","(",")",".unbind","(","0",")","vals","=","x.values","(",")","_coo_to_csr","(",")"]
code: def from_sparse_coo(cls, arg0):
      """
      assert arg0.is_sparse
      x = arg0.coalesce()
      rows, cols = x.indices().unbind(0)
      vals = x.values()
      _coo_to_csr()
      """
      pass
  
imports: import torch
  from xformers.ops import masked_matmul
  from xformers.sparse import _csr_ops
  from xformers.sparse.utils import _csr_to_coo, _dense3d_to_sparse, _diffsort, _get_transpose_info, _transpose_with_info
label_desc: Use image node_id 5 for calling the SparseCSRTensor obj's underlying member method code with example usage: obj.from_sparse_coo(cls, arg0) without return types