docstr: The setup class method for the basic test case with all default values.
code: def setUpClass(
      self, input_image_shape=(3, 224, 224), model="resnet-50"
  ):
      """
      The setup class method for the basic test case with all default values.
      """
      self.feature = "awesome_image"
      self.label = None
      self.input_image_shape = input_image_shape
      self.pre_trained_model = model
  
      # Create the model
      self.def_opts = {
          "model": "resnet-50",
          "verbose": True,
      }
  
      # Model
      self.sf = _get_data(self.input_image_shape[2])
      self.model = tc.image_similarity.create(
          self.sf,
          feature=self.feature,
          label=None,
          model=self.pre_trained_model,
      )
      self.nn_model = self.model.feature_extractor
      self.lm_model = self.model.similarity_model
      self.opts = self.def_opts.copy()
  
      # Answers
      self.get_ans = {
          "similarity_model": lambda x: type(x)
          == tc.nearest_neighbors.NearestNeighborsModel,
          "feature": lambda x: x == self.feature,
          "training_time": lambda x: x > 0,
          "input_image_shape": lambda x: x == self.input_image_shape,
          "label": lambda x: x == self.label,
          "feature_extractor": lambda x: callable(x.extract_features),
          "num_features": lambda x: x == self.lm_model.num_features,
          "num_examples": lambda x: x == self.lm_model.num_examples,
          "model": lambda x: x == self.pre_trained_model,
      }
      self.fields_ans = self.get_ans.keys()
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import pytest
  import turicreate
  from turicreate.toolkits._internal_utils import _mac_ver
  import tempfile
  import shutil
  import coremltools
  import numpy
  from turicreate.toolkits._main import ToolkitError
label_desc: Use image node_id 1 for calling the ImageSimilarityTest obj's underlying member method code with example usage: obj.setUpClass(input_image_shape, model) without return types