code: def run_training_iteration(data):
      output = net(data)
  
      net = gluon.nn.HybridSequential()
      net.add(gluon.nn.Dense(10))
  
      ctx = default_device()
      net.initialize(mx.init.Xavier(), ctx=ctx)
      data = mx.nd.ones((3, 4))
      mx.profiler.set_state("run")
      run_training_iteration(data)
      mx.nd.waitall()
      mx.profiler.set_state("stop")
  
file_path: mxnet/tests/python/unittest/test_exc_handling.py
imports: import os
  import mxnet
  import numpy
  from mxnet import gluon
  from mxnet.gluon import nn
  from mxnet.base import MXNetError
  from mxnet.test_utils import assert_exception, default_device, set_default_device, use_np
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: run_training_iteration(data) without return types