code: def _load_state_hook_ignore_shapes(
      self,
      state_dict,
      prefix,
      local_metadata,
      strict,
      missing_keys,
      unexpected_keys,
      error_msgs,
  ):
      if not self._load_strict_shapes:
          local_name_params = itertools.chain(
              self._parameters.items(), self._buffers.items()
          )
          local_state = {
              k: v for k, v in local_name_params if v is not None
          }
  
          for name, param in local_state.items():
              key = prefix + name
              if key in state_dict:
                  param.data = state_dict[key].data
  
imports: import copy
  import inspect
  import itertools
  import operator
  from collections import OrderedDict
  from typing import Union
  import torch
  from linear_operator.operators import LinearOperator
  from torch import nn, Tensor
  from torch.distributions import Distribution
  from .constraints import Interval
label_desc: Use image node_id 22 for calling the Module obj's underlying member method code with example usage: obj._load_state_hook_ignore_shapes(state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys, error_msgs) without return types