class_docstr: 用于仿造的 **GradScaler** 对象，防止重复写大量的if判断
class_docstr_tok: ["\u7528\u4e8e\u4eff\u9020\u7684","*","*","GradScaler","*","*","\u5bf9\u8c61\uff0c\u9632\u6b62\u91cd\u590d\u5199\u5927\u91cf\u7684if\u5224\u65ad"]
code: def is_enabled(self):
      return False
  
imports: import socket
  import os
  import struct
  import random
  import inspect
  import numpy
  from copy import deepcopy
  from contextlib import ExitStack, closing
  from typing import Dict, Optional
  from fastNLP.envs.imports import _NEED_IMPORT_PADDLE
  from fastNLP.envs.utils import get_global_seed
  from fastNLP.envs import get_global_rank, FASTNLP_BACKEND_LAUNCH, FASTNLP_GLOBAL_SEED
  from fastNLP.core.samplers import ReproducibleBatchSampler
  from fastNLP.core.utils import auto_param_call, paddle_to
  from fastNLP.core.log import logger
label_desc: Use image node_id 3 for calling the DummyGradScaler obj's underlying member method code with example usage: obj.is_enabled() and returns: False