(self)
return self.att_projection.weight.device
Determine which device to place the Tensors upon, CPU or GPU.
Determine which device to place the Tensors upon, CPU or GPU.
Determine which device to place the Tensors upon CPU or GPU .
def device(self) -> torch.device:
        """ Determine which device to place the Tensors upon, CPU or GPU.
        """
        return self.att_projection.weight.device
def device ( self ) -> torch . device : return self . att_projection . weight . device