class_docstr: Generator operator.
code: def __call__(self, num: int) -> Generator:
      self._num = 0
      while True:
          if self._num >= num:
              break
          else:
              yield Outputs(self._num, self._num * 500)
              self._num += 1
  
file_path: towhee/tests/unittests/mock_operators/generator_with_timestamp/generator_with_timestamp.py
imports: from typing import Generator, NamedTuple
  from towhee.operator import Operator, SharedType
label_desc: Use image node_id 2 for calling the GeneratorWithTimestamp obj's underlying member method code with example usage: obj.__call__(num) without return types