class_docstr: This class tests the crypten.models package.
code: def _check_all_models(self, list_of_model_names):
      for model_name in list_of_model_names:
          for pretrained in [False, True]:
              if (
                  pretrained
                  and model_name in self.__PRETRAINED_UNAVAILABLE
              ):
                  # mnasnet raises ValueError while shufflenet raises NotImplementedError
                  with self.assertRaises(
                      (ValueError, NotImplementedError)
                  ):
                      self._check_model(
                          model_name, pretrained=pretrained
                      )
                  continue
              self._check_model(model_name, pretrained=pretrained)
  
imports: import unittest
  import crypten
  import torch
  import torchvision
  from test.multiprocess_test_case import MultiProcessTestCase
label_desc: Use image node_id 5 for calling the TestModels obj's underlying member method code with example usage: obj._check_all_models(list_of_model_names) without return types