Convert masks to the format of Tensor. Args: dtype (str): Dtype of converted mask. device (torch.device): Device of converted masks. Returns: Tensor: Converted masks in the format of Tensor.
(self, dtype, device)
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected