code: def test_model_wo_softmax_exception():
      with pytest.raises(Exception):
          model = kmodels.Sequential(
              [klayers.Dense(10, input_shape=(10,), activation="relu")]
          )
          model = innvestigate.model_wo_softmax(model)
  
file_path: innvestigate/tests/backend/test_model_wo_softmax.py
imports: from __future__ import annotations
  import pytest
  import tensorflow.keras.layers
  import tensorflow.keras.models
  import innvestigate
label_desc: Use image node_id 3 for calling a global function with example usage: test_model_wo_softmax_exception() without return types