MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / decompose

Method decompose

semantic_sam/utils/misc.py:58–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 return NestedTensor(cast_tensor, cast_mask)
57
58 def decompose(self):
59 return self.tensors, self.mask
60
61 def __repr__(self):
62 return str(self.tensors)

Callers 2

loss_masksMethod · 0.80
loss_masksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected