56f9ec3c389a52a5786afd8152c4328d5ebea32a,setup.py,,,#,16
Before Change
extra_compile_args=["-std=c++11"],
)
conv_tbc = create_extension(
"fairseq.temporal_convolution_tbc",
relative_to="fairseq",
headers=["fairseq/clib/temporal_convolution_tbc/temporal_convolution_tbc.h"],
sources=["fairseq/clib/temporal_convolution_tbc/temporal_convolution_tbc.cpp"],
define_macros=[("WITH_CUDA", None)],
with_cuda=True,
extra_compile_args=["-std=c++11"],
source_extension=".cpp",
)
class build_py_hook(build_py):
def run(self):
After Change
)
setup(
name="fairseq",
version="0.4.0",
description="Facebook AI Research Sequence-to-Sequence Toolkit",
long_description=readme,
license=license,
install_requires=reqs.strip().split("\n"),
packages=find_packages(),
ext_modules=[bleu],
test_suite="tests",
)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: pytorch/fairseq
Commit Name: 56f9ec3c389a52a5786afd8152c4328d5ebea32a
Time: 2018-03-01
Author: jamesreed@fb.com
File Name: setup.py
Class Name:
Method Name:
Project Name: inferno-pytorch/inferno
Commit Name: 294ae8801abbc7bf8ab5106f66d2c4ff721bb710
Time: 2017-08-21
Author: thorsten.beier@iwr.uni-heidelberg.de
File Name: setup.py
Class Name:
Method Name: