10902930dcd12210c6946897e7f6203e085fbad0,test/test_node.py,TestNode,test_average_pool,#TestNode#,78

Before Change



  def test_average_pool(self):
    // TODO: uncomment this in the future
    return
    shape = [1, 1, 40, 40]
    node_def = helper.make_node("AveragePool", ["X"], ["Y"],
      kernel_shape=[1,2],
      pads=[0, 0], strides=[1,1])

After Change



  def test_average_pool(self):
    device = "CUDA"
    if not supports_device(device):
                raise unittest.SkipTest(
                    "Backend doesn"t support device {}".format(device))
    shape = [1, 1, 40, 40]
    node_def = helper.make_node("AveragePool", ["X"], ["Y"],
      kernel_shape=[1,2],
      pads=[0, 0], strides=[1,1])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: onnx/onnx-tensorflow
Commit Name: 10902930dcd12210c6946897e7f6203e085fbad0
Time: 2017-10-30
Author: acjacob@us.ibm.com
File Name: test/test_node.py
Class Name: TestNode
Method Name: test_average_pool


Project Name: Infinidat/infi.clickhouse_orm
Commit Name: 06ed53e4ecfc635273f45b577bbbfaedd08ab00e
Time: 2017-08-19
Author: itais@infinidat.com
File Name: tests/test_system_models.py
Class Name: SystemPartTest
Method Name: _get_backups


Project Name: rtavenar/tslearn
Commit Name: 41e9b243d893eca09615bf00f211950e2a69455b
Time: 2019-07-26
Author: givdwiel.vandewiele@ugent.be
File Name: tslearn/tests/sklearn_patches.py
Class Name:
Method Name: check_fit_idempotent