class_docstr: This is just `torch.nn.Module` with some extra functionality.
code: def load_state_dict_distributed(
      self, state_dict: Optional[StateDictType], strict: bool = True
  ) -> _IncompatibleKeys:
      missing_keys, unexpected_keys = load_state_dict_distributed(
          self, state_dict, strict=strict
      )
      missing_keys, unexpected_keys = self._post_load_state_dict(
          missing_keys, unexpected_keys
      )
      _check_incompatible_keys(
          self, missing_keys, unexpected_keys, strict
      )
      return _IncompatibleKeys(missing_keys, unexpected_keys)
  
file_path: allennlp/allennlp/nn/module.py
imports: from typing import List, Optional, Tuple
  import torch
  from allennlp.nn.util import _check_incompatible_keys, _IncompatibleKeys, StateDictType, load_state_dict_distributed
label_desc: Use image node_id 3 for calling the Module obj's underlying member method code with example usage: obj.load_state_dict_distributed(state_dict, strict) and returns: _IncompatibleKeys