Created by: qingqing01
Before the cuDNN is exposed to Python API, change the type of conv2d temporarily.