parameters and buffers in this module
     * **dtype** ("torch.dtype") -- the desired floating point or
       complex dtype of the parameters and buffers in this module

     * **tensor** (*torch.Tensor*) -- Tensor whose dtype and
       device are the desired dtype and device for all parameters
       and buffers in this module

     * **memory_format** ("torch.memory_format") -- the desired
       memory format for 4D parameters and buffers in this module
       (keyword only argument)

  Returns:
     self

  Return type:
     Module

  Examples:

     >>> linear = nn.Linear(2, 2)
     >>> linear.weight
     Parameter containing:
     tensor([[ 0.1913, -0.3420],
             [-0.5113, -0.2325]])
     >>> linear.to(torch.double)
     Linear(in_features=2, out_features=2, bias=True)
     >>> linear.weight
     Parameter containing:
     tensor([[ 0.1913, -0.3420],
