Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/HumanBench
/ device
Method
device
PATH/core/data/datasets/images/seg_dataset_dev.py:225–226 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
223
224
@property
225
def
device(self) -> torch.device:
226
return
self.tensor.device
227
228
def
__getitem__(self, item: Union[int, slice, torch.BoolTensor]) ->
"BitMasks"
:
229
""
"
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected