class_docstr: This class implements a regressor with the PyTorch framework.
class_docstr_tok: ["This","class","implements","a","regressor","with","the","PyTorch","framework","."]
docstr: Return the loss function.
  
  :return: The loss function.
docstr_tok: ["Return","the","loss","function",".",":","return",":","The","loss","function","."]
code: def loss(self) -> "torch.nn.modules.loss._Loss":
      """
      Return the loss function.
  
      :return: The loss function.
      """
      return self._loss
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import copy
  import logging
  import os
  import time
  from typing import Any, Dict, List, Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  import six
  from art import config
  from art.estimators.regression.regressor import RegressorMixin
  from art.estimators.pytorch import PyTorchEstimator
label_desc: Use image node_id 5 for calling the PyTorchRegressor obj's underlying member method code with example usage: obj.loss() and returns: self