def test_get_weights_topo(self):
        self.assertTrue(np.all(
            self.cudnn2d.get_weights_topo(borrow=True) ==
            np.transpose(self.filters.get_value(borrow=True), (0, 2, 3, 1))))
Check whether the cudnn has stored the correct filters.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/linear/tests/test_cudnn.py/TestCudnn.test_get_weights_topo