37f58cc580da8735ae5a259d4cb4ba0b8701e78e,tests/test_hogwild.py,,,#,16
Before Change
import torch
SKIP_HOGWILD = torch.cuda.device_count() > 0
class display_output(object):
def __init__(self):
After Change
NUM_EXS = 100
// ideally we want one choice which is a nice modulo with NUM_EXS, and one that isn"t
NUM_THREADS_CHOICES = [2, 8]
BATCHSIZE_CHOICES = [1, 8]
@testing_utils.skipIfGPU
class TestHogwild(unittest.TestCase):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: facebookresearch/ParlAI
Commit Name: 37f58cc580da8735ae5a259d4cb4ba0b8701e78e
Time: 2019-02-08
Author: roller@fb.com
File Name: tests/test_hogwild.py
Class Name:
Method Name:
Project Name: moskomule/senet.pytorch
Commit Name: 3b2a90ad9bcebe6ef004da614f2ecd2d1e29fdb1
Time: 2019-12-14
Author: hataya@keio.jp
File Name: imagenet.py
Class Name:
Method Name: main
Project Name: open-mmlab/mmdetection
Commit Name: 879a6ae48e267b36af53e131b3808255cec712e7
Time: 2018-09-23
Author: chenkaidev@gmail.com
File Name: tools/train.py
Class Name:
Method Name: main