f842d4f8836487dbe2617449b628c4591924e719,pymc3/backends/sqlite.py,SQLite,_slice,#SQLite#Any#,230

Before Change


        return values.reshape(shape)

    def _slice(self, idx):
        warnings.warn("Slice for SQLite backend has no effect.")

    def point(self, idx):
        Return dictionary of point values at `idx` for current chain
        with variables names as keys.

After Change


        return values.reshape(shape)

    def _slice(self, idx):
        if idx.stop is not None:
            raise ValueError("Stop value in slice not supported.")
        return ndarray._slice_as_ndarray(self, idx)

    def point(self, idx):
        Return dictionary of point values at `idx` for current chain
        with variables names as keys.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: pymc-devs/pymc3
Commit Name: f842d4f8836487dbe2617449b628c4591924e719
Time: 2015-07-23
Author: kyle@kyleam.com
File Name: pymc3/backends/sqlite.py
Class Name: SQLite
Method Name: _slice


Project Name: chainer/chainercv
Commit Name: 5f287d9215a8a62c93abb87f578ab9bdc6c63b0e
Time: 2019-04-19
Author: yuyuniitani@gmail.com
File Name: chainercv/utils/image/read_image.py
Class Name:
Method Name: read_image


Project Name: pymc-devs/pymc3
Commit Name: f842d4f8836487dbe2617449b628c4591924e719
Time: 2015-07-23
Author: kyle@kyleam.com
File Name: pymc3/backends/text.py
Class Name: Text
Method Name: _slice


Project Name: chainer/chainercv
Commit Name: 5f287d9215a8a62c93abb87f578ab9bdc6c63b0e
Time: 2019-04-19
Author: yuyuniitani@gmail.com
File Name: chainercv/transforms/image/rotate.py
Class Name:
Method Name: rotate