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

Method __init__

PATH/core/utils.py:753–755  ·  view source on GitHub ↗
(self, tensors, mask: Optional[Tensor])

Source from the content-addressed store, hash-verified

751
752class NestedTensor(object):
753 def __init__(self, tensors, mask: Optional[Tensor]):
754 self.tensors = tensors
755 self.mask = mask
756
757 def to(self, device):
758 # type: (Device) -> NestedTensor # noqa

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected