6dae167d1ae86dbc6c9da47447fc15b411d3aa5a,generator/modules/chainer.py,Chainer,build,#Chainer#,10

Before Change


class Chainer(Module):

    def build(self):
        return r"""
            $PIP_INSTALL \
                cupy \
                chainer \
                && \
        """

After Change


    def build(self):
        return r"""
            $PIP_INSTALL \
            """.rstrip() + (
                "" if self.composer.cpu_only else \
                r"""
                cupy \
                """.rstrip()
            ) + r"""
                chainer \
                && \
        """
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ufoym/deepo
Commit Name: 6dae167d1ae86dbc6c9da47447fc15b411d3aa5a
Time: 2017-12-03
Author: a@ufoym.com
File Name: generator/modules/chainer.py
Class Name: Chainer
Method Name: build


Project Name: ufoym/deepo
Commit Name: 6dae167d1ae86dbc6c9da47447fc15b411d3aa5a
Time: 2017-12-03
Author: a@ufoym.com
File Name: generator/modules/torch.py
Class Name: Torch
Method Name: build


Project Name: danforthcenter/plantcv
Commit Name: ee7dc09812df5dded34adcde4267d9c754e3b655
Time: 2019-09-11
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/hyperspectral/read_data.py
Class Name:
Method Name: read_data