Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddbourgin/numpy-ml
/ weight
Method
weight
numpy_ml/utils/graphs.py:37–38 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
35
36
@property
37
def
weight(self):
38
return
self._w.sample()
if
hasattr(self._w,
"sample"
)
else
self._w
39
40
def
reverse(self):
41
""
"Reverse the edge direction"
""
Callers
nothing calls this directly
Calls
1
sample
Method · 0.45
Tested by
no test coverage detected