code: def testCreateModelBadArchitecture(self):
      model_settings = self._modelSettings()
      with self.cached_session():
          fingerprint_input = tf.zeros(
              [1, model_settings["fingerprint_size"]]
          )
          with self.assertRaises(Exception) as e:
              models.create_model(
                  fingerprint_input,
                  model_settings,
                  "bad_architecture",
                  True,
              )
          self.assertIn("not recognized", str(e.exception))
  
file_path: tensorflow-upstream/tensorflow/examples/speech_commands/models_test.py
imports: import tensorflow
  from tensorflow.examples.speech_commands import models
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the ModelsTest obj's underlying member method code with example usage: obj.testCreateModelBadArchitecture() without return types