Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
8bb76a9
Update RNN.py
NoteDance Jul 6, 2020
ccefefb
Update FNN.py
NoteDance Jul 9, 2020
a69fc2e
Update CNN.py
NoteDance Jul 9, 2020
76de685
Update GRU.py
NoteDance Jul 9, 2020
76559a8
Update LSTM.py
NoteDance Jul 9, 2020
ae6997a
Update M_reluGRU.py
NoteDance Jul 9, 2020
23fdb42
Update RNN.py
NoteDance Jul 9, 2020
e6d2727
Update Note Architecture.py
NoteDance Jul 14, 2020
e86f60d
Update Note Architecture.py
NoteDance Jul 15, 2020
5ce702d
Update FNN.py
NoteDance Jul 15, 2020
b86fc90
Update CNN.py
NoteDance Jul 15, 2020
a5ece80
Update GRU.py
NoteDance Jul 15, 2020
3c9995d
Update LSTM.py
NoteDance Jul 15, 2020
e091182
Update M_reluGRU.py
NoteDance Jul 15, 2020
e486909
Update RNN.py
NoteDance Jul 15, 2020
2e3de04
Update Note Architecture.py
NoteDance Jul 15, 2020
e719d81
Update FNN.py
NoteDance Jul 15, 2020
6c4d2df
Update CNN.py
NoteDance Jul 15, 2020
77b73ee
Update GRU.py
NoteDance Jul 15, 2020
56edbdc
Update LSTM.py
NoteDance Jul 15, 2020
eb1b3b7
Update M_reluGRU.py
NoteDance Jul 15, 2020
c15b5b0
Update RNN.py
NoteDance Jul 15, 2020
a6e4246
Update FNN.py
NoteDance Jul 16, 2020
adfa319
Update CNN.py
NoteDance Jul 16, 2020
01fc2d8
Update GRU.py
NoteDance Jul 16, 2020
3a51358
Update LSTM.py
NoteDance Jul 16, 2020
60b244f
Update RNN.py
NoteDance Jul 16, 2020
606d1fd
Update M_reluGRU.py
NoteDance Jul 16, 2020
7ab2908
Update Note Architecture.py
NoteDance Jul 16, 2020
e0134de
Update FNN.py
NoteDance Jul 16, 2020
3cd51fb
Update CNN.py
NoteDance Jul 16, 2020
a989cde
Update GRU.py
NoteDance Jul 16, 2020
587035f
Update LSTM.py
NoteDance Jul 16, 2020
0d5df37
Update M_reluGRU.py
NoteDance Jul 16, 2020
5fc635d
Update RNN.py
NoteDance Jul 16, 2020
633df6f
Update Note Architecture.py
NoteDance Jul 16, 2020
9aacaa6
Update FNN.py
NoteDance Jul 16, 2020
d26f249
Update CNN.py
NoteDance Jul 16, 2020
7110c9b
Update GRU.py
NoteDance Jul 16, 2020
d369662
Update LSTM.py
NoteDance Jul 16, 2020
4abdd25
Update M_reluGRU.py
NoteDance Jul 16, 2020
337a78e
Update RNN.py
NoteDance Jul 16, 2020
012c51a
Update Note Architecture.py
NoteDance Jul 17, 2020
d4afd37
Update FNN.py
NoteDance Jul 17, 2020
bb92b0d
Update CNN.py
NoteDance Jul 17, 2020
da4935a
Update GRU.py
NoteDance Jul 17, 2020
94eb738
Update LSTM.py
NoteDance Jul 17, 2020
aaed3e3
Update M_reluGRU.py
NoteDance Jul 17, 2020
891d8ca
Update RNN.py
NoteDance Jul 17, 2020
2c74917
Update FNN.py
NoteDance Jul 17, 2020
878127f
Update CNN.py
NoteDance Jul 17, 2020
8d7ba61
Update GRU.py
NoteDance Jul 17, 2020
c83b08c
Update LSTM.py
NoteDance Jul 17, 2020
62c173a
Update M_reluGRU.py
NoteDance Jul 17, 2020
06a19b5
Update RNN.py
NoteDance Jul 17, 2020
24f80d4
Update version.py
NoteDance Jul 17, 2020
3cbd077
Update FNN.py
NoteDance Jul 26, 2020
6ebed5f
Update CNN.py
NoteDance Jul 26, 2020
70b4732
Update GRU.py
NoteDance Jul 26, 2020
e8a000c
Update LSTM.py
NoteDance Jul 26, 2020
75890a6
Update M_reluGRU.py
NoteDance Jul 26, 2020
7cd279e
Update RNN.py
NoteDance Jul 26, 2020
b1d5295
Update Note Architecture.py
NoteDance Jul 26, 2020
acdff27
Update Note Architecture.py
NoteDance Jul 27, 2020
a57745a
Update FNN.py
NoteDance Jul 28, 2020
465cd71
Update CNN.py
NoteDance Jul 28, 2020
9895da0
Update GRU.py
NoteDance Jul 28, 2020
6152958
Update LSTM.py
NoteDance Jul 28, 2020
ec3cf6f
Update M_reluGRU.py
NoteDance Jul 28, 2020
7f1b2df
Update RNN.py
NoteDance Jul 28, 2020
3c71cdc
Update Note Architecture.py
NoteDance Jul 28, 2020
11c0856
Update RNN.py
NoteDance Jul 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
363 changes: 180 additions & 183 deletions Note/create/Note Architecture.py

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions Note/create/RNN.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def lstm_weight_x(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
ig_weight_x=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[1])
og_weight_x=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[2])
cltm_weight_x=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[3])
return fg_weight_x,ig_weight_x,og_weight_x,cltm_weight_x
return [fg_weight_x,ig_weight_x,og_weight_x,cltm_weight_x]


def lstm_weight_h(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
Expand All @@ -128,7 +128,7 @@ def lstm_weight_h(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
ig_weight_h=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[1])
og_weight_h=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[2])
cltm_weight_h=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[3])
return fg_weight_h,ig_weight_h,og_weight_h,cltm_weight_h
return [fg_weight_h,ig_weight_h,og_weight_h,cltm_weight_h]


def lstm_bias(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
Expand All @@ -142,7 +142,7 @@ def lstm_bias(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
ig_bias=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[1])
og_bias=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[2])
cltm_bias=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[3])
return fg_bias,ig_bias,og_bias,cltm_bias
return [fg_bias,ig_bias,og_bias,cltm_bias]


def gru_weight_x(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
Expand All @@ -154,7 +154,7 @@ def gru_weight_x(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
ug_weight_x=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[0])
rg_weight_x=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[1])
cltm_weight_x=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[3])
return ug_weight_x,rg_weight_x,cltm_weight_x
return [ug_weight_x,rg_weight_x,cltm_weight_x]


def gru_weight_h(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
Expand All @@ -166,7 +166,7 @@ def gru_weight_h(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
ug_weight_h=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[0])
rg_weight_h=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[1])
cltm_weight_h=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[3])
return ug_weight_h,rg_weight_h,cltm_weight_h
return [ug_weight_h,rg_weight_h,cltm_weight_h]


def gru_bias(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
Expand All @@ -178,7 +178,7 @@ def gru_bias(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
ug_bias=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[0])
rg_bias=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[1])
cltm_bias=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[3])
return ug_bias,rg_bias,cltm_bias
return [ug_bias,rg_bias,cltm_bias]


def m_relugru_weight_x(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
Expand All @@ -190,7 +190,7 @@ def m_relugru_weight_x(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
ug_weight_x=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[0])
rg_weight_x=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[1])
cltm_weight_x=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[3])
return ug_weight_x,rg_weight_x,cltm_weight_x
return [ug_weight_x,rg_weight_x,cltm_weight_x]


def m_relugru_weight_h(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
Expand All @@ -202,7 +202,7 @@ def m_relugru_weight_h(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
ug_weight_h=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[0])
rg_weight_h=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[1])
cltm_weight_h=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[3])
return ug_weight_h,rg_weight_h,cltm_weight_h
return [ug_weight_h,rg_weight_h,cltm_weight_h]


def m_relugru_bias(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
Expand All @@ -214,7 +214,7 @@ def m_relugru_bias(shape,mean=0,stddev=0.07,dtype=tf.float32,name=None):
ug_bias=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[0])
rg_bias=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[1])
cltm_bias=tf.Variable(tf.random.normal(shape=shape,mean=mean,stddev=stddev,dtype=dtype),name=name[3])
return ug_bias,rg_bias,cltm_bias
return [ug_bias,rg_bias,cltm_bias]


def word_emb(data,cword_weight):
Expand Down
Loading