MCPcopy Create free account
hub / github.com/RozDavid/UnScene3D / __init__

Method __init__

models/misc.py:26–28  ·  view source on GitHub ↗
(self, tensors, mask: Optional[Tensor])

Source from the content-addressed store, hash-verified

24
25class NestedTensor(object):
26 def __init__(self, tensors, mask: Optional[Tensor]):
27 self.tensors = tensors
28 self.mask = mask
29
30 def to(self, device):
31 # type: (Device) -> NestedTensor # noqa

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected