1a8ca5d5d6ca5cb0e3494cd5c9e77759909ec955,torch_geometric/nn/functional/max_pool_voxel/max_pool_voxel_test.py,MaxPoolVoxelGPUTest,test_max_pool_voxel,#MaxPoolVoxelGPUTest#,12

Before Change


        row = [0, 1, 2, 2, 2, 2, 3, 3, 3, 4, 5, 5]
        col = [2, 3, 0, 3, 4, 5, 1, 2, 5, 2, 2, 3]
        index = torch.cuda.LongTensor([row, col])
        weight = torch.cuda.ones(12)
        adj = torch.cuda.sparse.FloatTensor(index, weight, torch.Size([6, 6]))
        position = [[-2, -2], [2, 2], [-1, -1], [1, 1], [-2, 2], [2, -2]]
        position = torch.cuda.FloatTensor(position)

After Change


        row = [0, 1, 2, 2, 2, 2, 3, 3, 3, 4, 5, 5]
        col = [2, 3, 0, 3, 4, 5, 1, 2, 5, 2, 2, 3]
        index = torch.cuda.LongTensor([row, col])
        weight = torch.ones(12).cuda()
        adj = torch.cuda.sparse.FloatTensor(index, weight, torch.Size([6, 6]))
        position = [[-2, -2], [2, 2], [-1, -1], [1, 1], [-2, 2], [2, -2]]
        position = torch.cuda.FloatTensor(position)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: rusty1s/pytorch_geometric
Commit Name: 1a8ca5d5d6ca5cb0e3494cd5c9e77759909ec955
Time: 2017-11-27
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/nn/functional/max_pool_voxel/max_pool_voxel_test.py
Class Name: MaxPoolVoxelGPUTest
Method Name: test_max_pool_voxel


Project Name: facebookresearch/ParlAI
Commit Name: 1a6f95dc2d715783b358f4bca267d099efd3ac31
Time: 2020-06-09
Author: roller@fb.com
File Name: parlai/core/torch_generator_agent.py
Class Name: TorchGeneratorAgent
Method Name: _dummy_batch


Project Name: facebookresearch/ParlAI
Commit Name: 8efba770f7f34fd8a1b62f93e4dcc9f6ff2d7b60
Time: 2019-08-12
Author: roller@fb.com
File Name: projects/wizard_of_wikipedia/generator/agents.py
Class Name: EndToEndAgent
Method Name: _dummy_batch