original_docstring: 
      Copy network parameters from source to target
      Inputs:
          target (torch.nn.Module): Net to copy parameters to
          source (torch.nn.Module): Net whose parameters to copy
      
docstring: Copy network parameters from source to target
  Inputs:
  target (torch.nn.Module): Net to copy parameters to
  source (torch.nn.Module): Net whose parameters to copy
docstring_tokens: Copy network parameters from source to target Inputs : target ( torch . nn . Module ) : Net to copy parameters to source ( torch . nn . Module ) : Net whose parameters to copy
code: def hard_update(target, source):
      """
      Copy network parameters from source to target
      Inputs:
          target (torch.nn.Module): Net to copy parameters to
          source (torch.nn.Module): Net whose parameters to copy
      """
      for target_param, param in zip(target.parameters(), source.parameters()):
          target_param.data.copy_(param.data)
code_tokens: def hard_update ( target , source ) : for target_param , param in zip ( target . parameters ( ) , source . parameters ( ) ) : target_param . data . copy_ ( param . data )
short_docstring: Copy network parameters from source to target
  Inputs:
  target (torch.nn.Module): Net to copy parameters to
  source (torch.nn.Module): Net whose parameters to copy
short_docstring_tokens: Copy network parameters from source to target Inputs : target ( torch . nn . Module ) : Net to copy parameters to source ( torch . nn . Module ) : Net whose parameters to copy
comment: """
      Copy network parameters from source to target
      Inputs:
          target (torch.nn.Module): Net to copy parameters to
          source (torch.nn.Module): Net whose parameters to copy
      """