def to(self, device: Optional[torch.device]=None, dtype: Optional[torch.dtype]=None) -> 'FaceDetectorResult':
    'Like :func:`torch.nn.Module.to()` method.'
    self._data = self._data.to(device=device, dtype=dtype)
    return self
Like :func:`torch.nn.Module.to()` method.
def to(self, device: Optional[torch.device]=None, dtype: Optional[torch.dtype]=None) -> 'FaceDetectorResult':
    
    self._data = self._data.to(device=device, dtype=dtype)
    return self