parameters: (ortmodule_config_accessor, data)
docstring: Loads SkipCheck from json file onto ORTModule.
docstring_summary: Loads SkipCheck from json file onto ORTModule.
docstring_tokens: Loads SkipCheck from json file onto ORTModule .
function: def _load_fallback_policy(ortmodule_config_accessor, data):
      """Loads SkipCheck from json file onto ORTModule."""
  
      assert hasattr(data, _load_fallback_policy.loading_key)
      log.info(f"Found keyword {_load_fallback_policy.loading_key} in json. Loading attributes from file.")
  
      fallback_policy = reduce(lambda x, y: x | y, [_FallbackPolicy[name] for name in data.FallbackPolicy])
      if fallback_policy.value > 0:
          ortmodule_config_accessor._fallback_manager.policy = fallback_policy
function_tokens: def _load_fallback_policy ( ortmodule_config_accessor , data ) : assert hasattr ( data , _load_fallback_policy . loading_key ) log . info ( f"Found keyword {_load_fallback_policy.loading_key} in json. Loading attributes from file." ) fallback_policy = reduce ( lambda x , y : x | y , [ _FallbackPolicy [ name ] for name in data . FallbackPolicy ] ) if fallback_policy . value > 0 : ortmodule_config_accessor . _fallback_manager . policy = fallback_policy