MCPcopy Create free account
hub / github.com/dblalock/bolt / dists_elemwise_sq

Function dists_elemwise_sq

experiments/python/main.py:30–32  ·  view source on GitHub ↗
(x, q)

Source from the content-addressed store, hash-verified

28# ================================================================ Distances
29
30def dists_elemwise_sq(x, q):
31 diffs = x - q
32 return diffs * diffs
33
34
35def dists_elemwise_l1(x, q):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected