code: def GradScalerClass_wrapper(GradScaler):
      class GradScalerClass:
          def __new__(cls, *args, **kwargs):
              kwargs["enabled"] = False
              return GradScaler(*args, **kwargs)
  
      return GradScalerClass
  
imports: import os
  import torch
  from logging import warning
  from bigdl.nano.utils.pytorch import TORCH_VERSION_LESS_1_10
label_desc: Use image node_id 7 for calling a global function with example usage: GradScalerClass_wrapper(GradScaler) and returns: GradScalerClass, GradScaler