MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / frobenius_norm

Function frobenius_norm

KVCOMM/utils/utils.py:60–61  ·  view source on GitHub ↗
(A, S)

Source from the content-addressed store, hash-verified

58 return torch.sum(S)
59
60def frobenius_norm(A, S):
61 return torch.norm(A - S, p='fro')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected