code: def set_flush_denorms(value):
      """Change floating-point calculations on CPU when dealing with denormalized values.
         This is only applicable to architectures which supports flush-to-zero.
         Denormalized values are positive and negative values that are very close to 0
         (exponent is the smallest possible value).
         Flushing denormalized values to 0 can speedup calculations if such values occurs,
         but if fulfilling whole IEEE 754 standard is required this option should be disabled.
         Flushing denormalized values is enabled in MXNet by default.
  
      Parameters
      ----------
      value : bool
          State of flush-to-zero and denormals-are-zero in MXCSR register
  
      Returns
      -------
      prev_state : bool
          Previous state of flush-to-zero in MXCSR register
      """
      ret = ctypes.c_bool()
      passed_value = ctypes.c_bool(value)
      check_call(
          _LIB.MXSetFlushDenorms(passed_value, ctypes.byref(ret))
      )
      return ret.value
  
imports: import ctypes
  import functools
  import inspect
  import threading
  import tempfile
  import platform
  from contextlib import contextmanager
  from struct import calcsize
  from .base import _LIB, check_call, c_str, py_str, numeric_types, integer_types, long, _MAX_VALUE_64_BIT_UNSIGNED_, _MAX_VALUE_64_BIT_SIGNED_, _MAX_VALUE_FLOAT32_REPRESENT_
label_desc: Use image node_id 34 for calling a global function with example usage: set_flush_denorms(value) and returns: ret