Can some one tell me how to disable cudnn for batch_norm on windows?

Downloaded a github repo and one of the instructions to run the demo is to disable cudnn for batch_norm.

# PYTORCH=/path/to/pytorch
# for pytorch v0.4.0
sed -i "1194s/torch\.backends\.cudnn\.enabled/False/g" ${PYTORCH}/torch/nn/functional.py
# for pytorch v0.4.1
sed -i "1254s/torch\.backends\.cudnn\.enabled/False/g" ${PYTORCH}/torch/nn/functional.py

I honestly have no idea how to do this on windows.