code: def _run(self, indices, depth, values, axis=None):  # type: ignore
      off_value, on_value = values
      y = _one_hot(indices, depth, axis=axis, dtype=values.dtype)  # type: ignore
      y = y * (on_value - off_value) + off_value
      return (y,)
  
imports: import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 1 for calling the OneHot obj's underlying member method code with example usage: obj._run(indices, depth, values, axis) and returns: y