def time_convolve2d(self, mode, boundary):
        for a, b in self.pairs:
            if mode == 'valid':
                if b.shape[0] > a.shape[0] or b.shape[1] > a.shape[1]:
                    continue
            signal.convolve2d(a, b, mode=mode, boundary=boundary)
dataset/ETHPy150Open scipy/scipy/benchmarks/benchmarks/signal.py/Convolve2D.time_convolve2d/original