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 a boolean indicating whether to use the automatic mixed precision tool.
  
  :return: Whether to use the automatic mixed precision tool.
docstr_tok: ["Return","a","boolean","indicating","whether","to","use","the","automatic","mixed","precision","tool",".",":","return",":","Whether","to","use","the","automatic","mixed","precision","tool","."]
code: def use_amp(self) -> bool:
      """
      Return a boolean indicating whether to use the automatic mixed precision tool.
  
      :return: Whether to use the automatic mixed precision tool.
      """
      return self._use_amp
  
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 7 for calling the PyTorchRegressor obj's underlying member method code with example usage: obj.use_amp() and returns: self