Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ one
Function
one
mla/neuralnet/initializations.py:22–23 ·
view source on GitHub ↗
(shape, **kwargs)
Source
from the content-addressed store, hash-verified
20
21
22
def
one(shape, **kwargs):
23
return
np.ones(shape)
24
25
26
def
orthogonal(shape, scale=0.5):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected