class_docstr: Tests for cleverhans.model.Model
class_docstr_tok: ["Tests","for","cleverhans.model.Model"]
code: def test_get_probs(self):
      # Define empty model
      model = Model("model", 10, {})
      x = []
  
      # Exception is thrown when `get_probs` not implemented
      with self.assertRaises(Exception) as context:
          model.get_probs(x)
      self.assertTrue(context.exception)
  
file_path: cleverhans/cleverhans_v3.1.0/tests_tf/test_model.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import unittest
  from cleverhans.model import Model, CallableModelWrapper
label_desc: Use image node_id 2 for calling the TestModelClass obj's underlying member method code with example usage: obj.test_get_probs() without return types