580fc161b180d6f0d80721524f7f4ce3d815a9ae,examples/wrap_pytorch_rnn.py,,,#,36

Before Change


        // Calculate dY and dX using get_dX callback

if __name__ == "__main__":
    plac.call(main)

After Change


        else:
            return autograd.Variable(weight.new(num_layers, batch_size, hidden_size).zero_())

if __name__ == "__main__":
    for rnn in ["RNN", "GRU", "LSTM"]:
        for bi in [False, True]:
            test_title = "Using {bidirectional}{rnn_type}".format(
                rnn_type=rnn, 
                bidirectional="Bi-" if bi else "")
            print(test_title)
            test_rnn(rnn_type=rnn, bidirectional=bi)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: explosion/thinc
Commit Name: 580fc161b180d6f0d80721524f7f4ce3d815a9ae
Time: 2018-03-28
Author: daniel@recogn.ai
File Name: examples/wrap_pytorch_rnn.py
Class Name:
Method Name:


Project Name: explosion/thinc
Commit Name: 4c7238680dad8e35dbe344d319e45cf6b3c7e43d
Time: 2018-03-28
Author: daniel@recogn.ai
File Name: examples/wrap_pytorch_rnn.py
Class Name:
Method Name:


Project Name: tryolabs/luminoth
Commit Name: 7bf44d7608c6d91f45695d1bb1d910a440aa449c
Time: 2018-11-06
Author: dekked@gmail.com
File Name: luminoth/tools/cloud/gcloud.py
Class Name:
Method Name: build_package


Project Name: deepfakes/faceswap
Commit Name: 00990c4a353c26ed565af903ff9005813efe8864
Time: 2019-08-27
Author: 36920800+torzdf@users.noreply.github.com
File Name: scripts/gui.py
Class Name: FaceswapGui
Method Name: set_geometry


Project Name: alexandrebarachant/muse-lsl
Commit Name: 2a253ec16e2933b4be6ab491edffa534ac28a4ff
Time: 2018-05-07
Author: kowaleskij@gmail.com
File Name: muselsl/muselsl/muse.py
Class Name: Muse
Method Name: stop