code: def __init__(
      self,
      method,
      aggregator=None,
      accumulator=None,
      pre_agg=None,
      post_agg=None,
  ):
      self._method = method
      self._aggregator = aggregator
      self._accumulator = accumulator
      self._pre_agg = pre_agg
      self._post_agg = post_agg
  
file_path: mars/mars/tensor/ufunc/ufunc.py
imports: from numbers import Number
  import numpy
  from ..datasource import tensor
  from ..None import arithmetic, reduction
label_desc: Use image node_id 1 to create a new TensorUfuncDef object  with example: obj = TensorUfuncDef(method, aggregator, accumulator, pre_agg, post_agg)