code: def enable_profiler(
      profile_filename,
      run=True,
      continuous_dump=False,
      aggregate_stats=False,
  ):
      profiler.set_config(
          profile_symbolic=True,
          profile_imperative=True,
          profile_memory=True,
          profile_api=True,
          filename=profile_filename,
          continuous_dump=continuous_dump,
          aggregate_stats=aggregate_stats,
      )
      if run is True:
          profiler.set_state("run")
  
imports: from __future__ import print_function
  import time
  import os
  import csv
  import json
  import numpy
  from collections import OrderedDict
  import mxnet
  from mxnet import profiler
  from mxnet.gluon import nn
  from mxnet.test_utils import is_cd_run
  from common import run_in_spawned_process
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: enable_profiler(profile_filename, run, continuous_dump, aggregate_stats) without return types