Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ uniform
Function
uniform
mla/neuralnet/initializations.py:14–15 ·
view source on GitHub ↗
(shape, scale=0.5)
Source
from the content-addressed store, hash-verified
12
13
14
def
uniform(shape, scale=0.5):
15
return
np.random.uniform(size=shape, low=-scale, high=scale)
16
17
18
def
zero(shape, **kwargs):
Callers
2
glorot_uniform
Function · 0.85
he_uniform
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected