code: def op_builder(name, index, extra):
      iterations = [0]
      assert name == "name"
      assert index == 5
      assert extra - 4.2 < 0.0001
  
      def my_op(inputs, outputs):
          assert inputs[0].data[0] == iterations[0]
          assert name == "name"
          assert index == 5
          assert extra - 4.2 < 0.0001
          iterations[0] += 1
  
      return my_op
  
imports: from caffe2.python import core, workspace
  from caffe2.python.core import CreatePythonOperator
  import caffe2.python.hypothesis_test_util
  from hypothesis import given, settings
  import hypothesis.strategies
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: op_builder(name, index, extra) and returns: my_op