code: def _dumps(self, protocol=2):
      return pickle.dumps(self, protocol=protocol)
  
imports: import warnings
  from contextlib import nullcontext
  from numpy.core import multiarray
  from numpy.core import umath
  from numpy.core.multiarray import asanyarray
  from numpy.core import numerictypes
  from numpy.core import _exceptions
  from numpy.core._ufunc_config import _no_nep50_warning
  from numpy._globals import _NoValue
  from numpy.compat import pickle, os_fspath
label_desc: Use image node_id 14 for calling a global function with example usage: _dumps(protocol) and returns: pickle