code: def _run(self, a, b, fmod=None):  # type: ignore
      fmod = fmod or self.fmod  # type: ignore
      if fmod == 1:  # type: ignore
          return (np.fmod(a, b),)
      if a.dtype in (np.float16, np.float32, np.float64):
          return (np.nan_to_num(np.fmod(a, b)),)
      return (np.nan_to_num(np.mod(a, b)),)
  
imports: import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 1 for calling the Mod obj's underlying member method code with example usage: obj._run(a, b, fmod) and returns: np, np, np