MCPcopy Create free account
hub / github.com/WeChatCV/WeVisionOne / decompose

Method decompose

WeVisionOne/utils/misc.py:42–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 return NestedTensor(cast_tensor, cast_mask)
41
42 def decompose(self):
43 return self.tensors, self.mask
44
45 def __repr__(self):
46 return str(self.tensors)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected