code: def copy_parameters(
      net_source: torch.nn.Module,
      net_dest: torch.nn.Module,
      strict: bool = True,
  ) -> None:
      """
      Copies parameters from one network to another.
  
      Parameters
      ----------
      net_source
          Input network.
      net_dest
          Output network.
      strict:
          whether to strictly enforce that the keys
          in :attr:`state_dict` match the keys returned by this module's
          :meth:`~torch.nn.Module.state_dict` function. Default: ``True``
      """
  
      net_dest.load_state_dict(net_source.state_dict(), strict=strict)
  
file_path: gluonts/src/gluonts/torch/util.py
imports: from typing import List, Optional, Type, Union
  import inspect
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: copy_parameters(net_source, net_dest, strict) without return types