parameters: (mod)
return_statement: return _enabled
docstring: r"""Get or set amp autocast mode enabled or not.
      
      Examples:
      
          .. code-block::
  
             import megengine as mge
             mge.amp.enabled = True
docstring_summary: r"""Get or set amp autocast mode enabled or not.
      
      Examples:
      
          .. code-block::
docstring_tokens: r Get or set amp autocast mode enabled or not . Examples : .. code - block ::
function: def enabled(mod):
      r"""Get or set amp autocast mode enabled or not.
      
      Examples:
      
          .. code-block::
  
             import megengine as mge
             mge.amp.enabled = True
      """
      return _enabled
function_tokens: def enabled ( mod ) : return _enabled