Загрузка
Used when get_swap_module_params_on_conversion() is True.
It is expected that self is a parameter or buffer in an nn.Module and other is the
value in the state dictionary with the corresponding key, this method defines
how other is remapped before being swapped with self via
swap_tensors() in load_state_dict().
other (Tensor) – value in state dict with key corresponding to self
assign (bool) – the assign argument passed to nn.Module.load_state_dict()