MCPcopy Create free account
hub / github.com/tensorflow/models / union

Method union

official/projects/unified_detector/utils/utilities.py:219–222  ·  view source on GitHub ↗
(self, i1: int, i2: int)

Source from the content-addressed store, hash-verified

217 return self._parent[item]
218
219 def union(self, i1: int, i2: int) -> None:
220 r1 = self.find(i1)
221 r2 = self.find(i2)
222 self._parent[r1] = r2
223
224 def to_group(self) -> List[List[int]]:
225 """Return the grouping results.

Callers 1

inferenceFunction · 0.95

Calls 1

findMethod · 0.95

Tested by

no test coverage detected