4bcf6fdd93291a1bfba3c7038fe30a7338870968,onmt/models/SRU.py,,,#,72

Before Change


    device = torch.device("cuda")
    tmp_ = torch.rand(1, 1).to(device)

    sru_prog = Program(SRU_CODE.encode("utf-8"),
                       "sru_prog.cu".encode("utf-8"))
    sru_ptx = sru_prog.compile()
    sru_mod = function.Module()
    sru_mod.load(bytes(sru_ptx.encode()))

    SRU_FWD_FUNC = sru_mod.get_function("sru_fwd")

After Change


}

SRU_FWD_FUNC, SRU_BWD_FUNC = None, None
SRU_BiFWD_FUNC, SRU_BiBWD_FUNC = None, None
SRU_STREAM = None

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: OpenNMT/OpenNMT-py
Commit Name: 4bcf6fdd93291a1bfba3c7038fe30a7338870968
Time: 2018-05-22
Author: pltrdy@gmail.com
File Name: onmt/models/SRU.py
Class Name:
Method Name:


Project Name: deepgram/kur
Commit Name: 35538e4eba517f561bd3c6cdb006a233042874e2
Time: 2017-01-31
Author: ajsyp@syptech.net
File Name: kur/model/hooks/slack_hook.py
Class Name: SlackHook
Method Name: send_message


Project Name: nilearn/nilearn
Commit Name: a04fdeac1f3d7ad8f0e49393bb48e090c124ef99
Time: 2017-11-17
Author: jerome@dockes.org
File Name: nilearn/datasets/tests/test_atlas.py
Class Name:
Method Name: test_fetch_atlas_talairach