class_docstr: This class has two purposes: to establish a set of default properties,
  and to route setting of these attributes through __setattr__ so that (in theory)
  they can be checked for consistency with other existing args.
class_docstr_tok: ["This","class","has","two","purposes",":","to","establish","a","set","of","default","properties",",","and","to","route","setting","of","these","attributes","through","__setattr__","so","that","(","in","theory",")","they","can","be","checked","for","consistency","with","other","existing","args","."]
code: def __init__(self):
      self.options = {
          "enabled": False,
          "opt_level": None,
          "cast_model_type": None,
          "patch_torch_functions": False,
          "keep_batchnorm_fp32": None,
          "master_weights": None,
          "loss_scale": 1.0,
          # Reserved for future functionality
          # "fused_optimizer" : False,
          # "enable_ddp_interop" : False,
      }
  
imports: from collections import OrderedDict
  import torch
  from ._initialize import _initialize
  from ._amp_state import _amp_state, warn_or_err, maybe_print
label_desc: Use image node_id 1 to create a new Properties object from inherited base classes: object with example: obj = Properties()