MCPcopy Create free account
hub / github.com/chenhaoxing/DiffusionInst / __init__

Method __init__

diffusioninst/util/misc.py:288–290  ·  view source on GitHub ↗
(self, tensors, mask: Optional[Tensor])

Source from the content-addressed store, hash-verified

286
287class NestedTensor(object):
288 def __init__(self, tensors, mask: Optional[Tensor]):
289 self.tensors = tensors
290 self.mask = mask
291
292 def to(self, device):
293 # type: (Device) -> NestedTensor # noqa

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected