MCPcopy Create free account
hub / github.com/aigc3d/LHM / distance

Function distance

engine/SegmentAPI/SAM.py:54–55  ·  view source on GitHub ↗
(p1, p2)

Source from the content-addressed store, hash-verified

52
53
54def distance(p1, p2):
55 return np.sqrt(np.sum((p1 - p2) ** 2))
56
57
58def FPS(sample, num):

Callers 2

apply_sprite_effectMethod · 0.85
FPSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected