docstr: setup any state tied to the execution of the given method in a
  class.  setup_method is invoked for every test method of a class.
docstr_tok: ["setup","any","state","tied","to","the","execution","of","the","given","method","in","a","class",".","setup_method","is","invoked","for","every","test","method","of","a","class","."]
code: def setUp(self):
      """setup any state tied to the execution of the given method in a
      class.  setup_method is invoked for every test method of a class.
      """
      self.sc = init_spark_on_local(4)
  
file_path: analytics-zoo/pyzoo/test/zoo/pipeline/api/torch/test_inference_model_torch.py
imports: import os
  import pytest
  from unittest import TestCase
  from zoo.pipeline.inference import InferenceModel
  from zoo.pipeline.api.torch import zoo_pickle_module
  import torch
  import torchvision
  from zoo.common.nncontext import *
label_desc: Use image node_id 1 for calling the TestInferenceModelTorch obj's underlying member method code with example usage: obj.setUp() without return types