class_docstr: Generator operator.
code: def __call__(self, num: int):
      self._num = 0
      while True:
          if self._num >= num:
              break
          else:
              yield (self._num, self._num)
              self._num += 1
  
imports: from towhee.operator import Operator, SharedType
label_desc: Use image node_id 2 for calling the Gen obj's underlying member method code with example usage: obj.__call__(num) without return types