Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ fb
Function
fb
test/test_optim.py:30–31 ·
view source on GitHub ↗
(G)
Source
from the content-addressed store, hash-verified
28
return
G
29
30
def
fb(G):
31
return
0.5 * nx.sum(G**2)
32
33
ab, bb, Mb = nx.from_numpy(a, b, M)
34
Callers
nothing calls this directly
Calls
1
sum
Method · 0.45
Tested by
no test coverage detected