TensorFlow 模型建立与训练

请问,如果只运行卷积那部分的代码,就会报错
Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
但是如果先运行 MLP 那部分的代码,再运行卷积部分的,就可以运行,请问这是为什么呢