MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / to_tensor

Method to_tensor

mmdet/core/mask/structures.py:121–130  ·  view source on GitHub ↗

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 from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected