Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ init_weight
Function
init_weight
rnn_class/util.py:17–18 ·
view source on GitHub ↗
(Mi, Mo)
Source
from the content-addressed store, hash-verified
15
from
datetime
import
datetime
16
17
def
init_weight(Mi, Mo):
18
return
np.random.randn(Mi, Mo) / np.sqrt(Mi + Mo)
19
20
def
all_parity_pairs(nbit):
21
# total number of samples (Ntotal) will be a multiple of 100
Callers
15
fit
Method · 0.90
fit
Method · 0.90
fit
Method · 0.90
__init__
Method · 0.90
fit
Method · 0.90
fit
Method · 0.90
__init__
Method · 0.90
fit
Method · 0.90
fit
Method · 0.90
fit
Method · 0.90
__init__
Method · 0.90
fit
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected