parameters: (self, fmt='.4f')
return_statement: return '[{:{fmt}}, {:{fmt}}]({})'.format(self._amax.min().item(), self._amax.max().item(),
                                                   self._amax.numel(), fmt=fmt)
docstring: Short description of amax
  
          Returns:
              'dynamic': if _amax is not registered
              'amax': if _amax is per-tensor
              '[min, max](size)': if _amax is per-channel
docstring_summary: Short description of amax
docstring_tokens: Short description of amax
function: def _short_amax(self, fmt='.4f'):
          """Short description of amax
  
          Returns:
              'dynamic': if _amax is not registered
              'amax': if _amax is per-tensor
              '[min, max](size)': if _amax is per-channel
          """
          if not hasattr(self, '_amax'):
              return 'dynamic'
          if self._amax.numel() == 1:
              return '{:{fmt}}'.format(self._amax.item(), fmt=fmt)
          return '[{:{fmt}}, {:{fmt}}]({})'.format(self._amax.min().item(), self._amax.max().item(),
                                                   self._amax.numel(), fmt=fmt)
function_tokens: def _short_amax ( self , fmt = '.4f' ) : if not hasattr ( self , '_amax' ) : return 'dynamic' if self . _amax . numel ( ) == 1 : return '{:{fmt}}' . format ( self . _amax . item ( ) , fmt = fmt ) return '[{:{fmt}}, {:{fmt}}]({})' . format ( self . _amax . min ( ) . item ( ) , self . _amax . max ( ) . item ( ) , self . _amax . numel ( ) , fmt = fmt )