MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / to

Method to

PATH/core/data/datasets/images/seg_dataset_dev.py:221–222  ·  view source on GitHub ↗
(self, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

219 self.tensor = tensor
220
221 def to(self, *args: Any, **kwargs: Any) -> "BitMasks":
222 return BitMasks(self.tensor.to(*args, **kwargs))
223
224 @property
225 def device(self) -> torch.device:

Callers

nothing calls this directly

Calls 1

BitMasksClass · 0.85

Tested by

no test coverage detected