class_docstr: The interface of a mixin class.
docstr: Infer loss from keyword or callable.
  
  This is the base function which can be used as fall-back for subclass
  methods.
docstr_tok: ["Infer","loss","from","keyword","or","callable",".","This","is","the","base","function","which","can","be","used","as","fall-back","for","subclass","methods","."]
code: def get_loss(self, dist_type):
      """
      Infer loss from keyword or callable.
  
      This is the base function which can be used as fall-back for subclass
      methods.
      """
      raise ValueError(
          _DIST_TYPE_NOT_IMPLEMENTED.format(
              self.__class__.__name__, dist_type
          )
      )
  
file_path: fairlearn/fairlearn/adversarial/_backend_engine.py
imports: from ._constants import _KWARG_ERROR_MESSAGE, _NOT_IMPLEMENTED, _DIST_TYPE_NOT_IMPLEMENTED, _NO_LOSS, _LIST_MODEL_UNSUPPORTED
  from sklearn.utils import shuffle
  from numpy import ndarray
label_desc: Use image node_id 9 for calling the BackendEngine obj's underlying member method code with example usage: obj.get_loss(dist_type) without return types