Module — PyTorch 1.10.1 documentation
pytorch.org › generated › torchdevice (torch.device) – the desired device of the 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