class_docstr: Class for importing MXNet Gluon models.
docstr: Return the loss function.
  
  :return: The loss function.
docstr_tok: ["Return","the","loss","function",".",":","return",":","The","loss","function","."]
code: def loss(self) -> Union["mx.nd.loss", "mx.gluon.loss"]:
      """
      Return the loss function.
  
      :return: The loss function.
      """
      return self._loss
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import os
  from typing import List, Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  import six
  from art import config
  from art.estimators.mxnet import MXEstimator
  from art.estimators.classification.classifier import ClassGradientsMixin, ClassifierMixin
  from art.utils import check_and_transform_label_format
label_desc: Use image node_id 3 for calling the MXClassifier obj's underlying member method code with example usage: obj.loss() and returns: self