code: def _copy(cls, arg0, arg1):
      if not (isinstance(arg0, cls) and isinstance(arg1, cls)):
          return NotImplemented
      assert arg0.shape == arg1.shape
      av0, av1 = arg0.__values, arg1.__values
      av0.resize_as_(av1).copy_(av1)
      av0, av1 = arg0.__layout, arg1.__layout
      av0.resize_as_(av1).copy_(av1)
      out = cls(arg0.__values, arg0.__layout)
      arg0.__sparse_dot_sdd = out.__sparse_dot_sdd
      arg0.__sparse_dot_dsd = out.__sparse_dot_dsd
      arg0.__sparse_softmax = out.__sparse_softmax
      return arg0
  
imports: import logging
  import torch
  from xformers import _is_triton_available
  from xformers.ops import masked_matmul
label_desc: Use image node_id 12 for calling the BlockSparseTensor obj's underlying member method code with example usage: obj._copy(cls, arg0, arg1) and returns: arg0, NotImplemented