class_docstr: Layer config context manager that allows setting all layer config flags at once.
  If a flag arg is None, it will not change the current value.
code: def __init__(
      self,
      scriptable: Optional[bool] = None,
      exportable: Optional[bool] = None,
      no_jit: Optional[bool] = None,
      no_activation_jit: Optional[bool] = None,
  ):
      global _SCRIPTABLE
      global _EXPORTABLE
      global _NO_JIT
      global _NO_ACTIVATION_JIT
      self.prev = _SCRIPTABLE, _EXPORTABLE, _NO_JIT, _NO_ACTIVATION_JIT
      if scriptable is not None:
          _SCRIPTABLE = scriptable
      if exportable is not None:
          _EXPORTABLE = exportable
      if no_jit is not None:
          _NO_JIT = no_jit
      if no_activation_jit is not None:
          _NO_ACTIVATION_JIT = no_activation_jit
  
imports: import os
  import warnings
  from typing import Any, Optional
  import torch
label_desc: Use image node_id 1 to create a new set_layer_config object  with example: obj = set_layer_config(scriptable, exportable, no_jit, no_activation_jit)