dc83851aca230648c4f75ac1a0d4b9971b2d6aa0,tests/keras/backend/backend_test.py,TestBackend,test_tile,#TestBackend#,430

Before Change



    def test_tile(self):
        shape = (3, 4)
        arr = np.arange(np.prod(shape)).reshape(shape)
        check_single_tensor_operation("tile", arr, WITH_NP, n=[2, 1])
        check_single_tensor_operation("tile", (2, 5), WITH_NP, n=[5, 2])

        // test theano shape inference when

After Change


        check_single_tensor_operation("tile", (3, 4), WITH_NP, n=2)
        check_single_tensor_operation("tile", (3, 4), WITH_NP, n=(2, 1))
        check_single_tensor_operation("tile", (3, 4, 5), WITH_NP, n=2)
        check_single_tensor_operation("tile", (3, 4, 5), WITH_NP, n=(1, 2))
        check_single_tensor_operation("tile", (3, 4, 5), WITH_NP, n=(3, 1, 2))

        // test theano shape inference when
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: keras-team/keras
Commit Name: dc83851aca230648c4f75ac1a0d4b9971b2d6aa0
Time: 2019-03-16
Author: me@taehoonlee.com
File Name: tests/keras/backend/backend_test.py
Class Name: TestBackend
Method Name: test_tile


Project Name: neurodsp-tools/neurodsp
Commit Name: bebc7f03600aba578d9de9cba38e27ce7ab5f6aa
Time: 2019-08-22
Author: tdonoghue@ucsd.edu
File Name: neurodsp/rhythm/lc.py
Class Name:
Method Name: lagged_coherence


Project Name: maciejkula/spotlight
Commit Name: aa1eb21d82804500e2357cde21b18bcf6f87825a
Time: 2017-08-02
Author: maciej.kula@gmail.com
File Name: spotlight/factorization/implicit.py
Class Name: ImplicitFactorizationModel
Method Name: predict


Project Name: enthought/chaco
Commit Name: c9f0d6cc4b2d40bbe0f21d24cc450393ee3583f4
Time: 2017-03-01
Author: kern.steven0@gmail.com
File Name: chaco/color_bar.py
Class Name: ColorBar
Method Name: _draw_plot


Project Name: dask/dask-image
Commit Name: f9aea094643fb3240193b0bc0f1908d5b84d82ab
Time: 2018-09-30
Author: jakirkham@gmail.com
File Name: dask_image/ndmeasure/__init__.py
Class Name:
Method Name: center_of_mass