bc714964ae754c25af66ded19ae2926768362584,dnc/dnc.py,DNC,_layer_forward,#DNC#Any#Any#Any#,153
Before Change
// print("input[time]", input[time].size(), self.layer0_input_size, self.layern_input_size)
chx = self.rnns[layer](input[time], chx)
// the interface vector
ξ = chx[0] if self.rnn_type.lower() == "lstm" else chx
// the output
out = self.output_weights(chx[0]) if self.rnn_type.lower() == "lstm" else self.output_weights(chx)
// pass through memory
After Change
layer_input = input[time]
hchx = []
for hlayer in range(self.num_hidden_layers):
h = self.rnns[layer][hlayer](layer_input, chx[hlayer])
layer_input = h[0] if self.rnn_type.lower() == "lstm" else h
hchx.append(h)
chx = hchx
// the interface vector
ξ = layer_input
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: ixaxaar/pytorch-dnc
Commit Name: bc714964ae754c25af66ded19ae2926768362584
Time: 2017-10-29
Author: root@ixaxaar.in
File Name: dnc/dnc.py
Class Name: DNC
Method Name: _layer_forward
Project Name: ixaxaar/pytorch-dnc
Commit Name: 4c335da8e73ecdac2d298c89a1652b587edd1086
Time: 2017-10-29
Author: root@ixaxaar.in
File Name: dnc/dnc.py
Class Name: DNC
Method Name: _layer_forward
Project Name: mwickert/scikit-dsp-comm
Commit Name: c72b6d57938552e0e372173df7655264f6fa9088
Time: 2017-10-17
Author: chiranthsiddappa@gmail.com
File Name: sk_dsp_comm/sigsys.py
Class Name:
Method Name: lp_samp