code: def get_predictor_exporter_helper(submodelNetName):
      """constracting stub for the PredictorExportMeta
      Only used to construct names to subfields,
      such as calling to predict_net_name
      Args:
          submodelNetName - name of the model
      """
      stub_net = core.Net(submodelNetName)
      pred_meta = PredictorExportMeta(
          predict_net=stub_net,
          parameters=[],
          inputs=[],
          outputs=[],
          shapes=None,
          name=submodelNetName,
          extra_init_net=None,
      )
      return pred_meta
  
imports: from caffe2.proto import caffe2_pb2
  from caffe2.proto import metanet_pb2
  from caffe2.python import workspace, core, scope
  from caffe2.python.predictor_constants import predictor_constants
  import caffe2.python.predictor.serde
  import caffe2.python.predictor.predictor_py_utils
  import collections
label_desc: Use image node_id 1 for calling a global function with example usage: get_predictor_exporter_helper(submodelNetName) and returns: pred_meta