code: def setUpClass(cls):
      workspace.GlobalInit(get_default_test_flags())
      # clear the default engines settings to separate out its
      # affect from the ops tests
      core.SetEnginePref({}, {})
  
imports: import numpy
  from caffe2.python import core, workspace
  import os
  import pathlib
  import shutil
  import tempfile
  import unittest
  from typing import Any, Callable, Tuple, Type
  from types import TracebackType
label_desc: Use image node_id 1 for calling the TestCase obj's underlying member method code with example usage: obj.setUpClass(cls) without return types