class_docstr: Base ModelInterface for torch and tensorflow models.
class_docstr_tok: ["Base","ModelInterface","for","torch","and","tensorflow","models","."]
docstr: Returns model with last layer adjusted accordingly to softmax argument.
  If the original model has softmax activation as the last layer and softmax=false,
  the layer is removed.
docstr_tok: ["Returns","model","with","last","layer","adjusted","accordingly","to","softmax","argument",".","If","the","original","model","has","softmax","activation","as","the","last","layer","and","softmax=false",",","the","layer","is","removed","."]
code: def get_softmax_arg_model(self):
      """
      Returns model with last layer adjusted accordingly to softmax argument.
      If the original model has softmax activation as the last layer and softmax=false,
      the layer is removed.
      """
      raise NotImplementedError
  
file_path: Quantus/quantus/helpers/model/model_interface.py
imports: import warnings
  from importlib import util
  from abc import ABC, abstractmethod
  from typing import Any, Dict, Optional, Tuple, List, Union, Generator, TypeVar, Generic
  import numpy
label_desc: Use image node_id 2 for calling the ModelInterface obj's underlying member method code with example usage: obj.get_softmax_arg_model() without return types