# What does torch.backends.cudnn.benchmark do?

**URL:** <https://discuss.pytorch.org/t/what-does-torch-backends-cudnn-benchmark-do/5936>\
**Category:** Uncategorized\
**Created:** [August 8, 2017, 4:21pm UTC](https://discuss.pytorch.org/t/what-does-torch-backends-cudnn-benchmark-do/5936 "2017-08-08T16:21:17Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![salihkaragoz](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/salihkaragoz/32/3802_2.png) [@salihkaragoz](https://discuss.pytorch.org/u/salihkaragoz)\
**Post date:** [April 20, 2018, 7:10am UTC](https://discuss.pytorch.org/t/what-does-torch-backends-cudnn-benchmark-do/5936/10 "2018-04-20T07:10:30Z")

</div>

Hello,  
IMHO, if your networks connect each other and if net1 is first network, you should use cudnn.benchmark = True.  
and also you ve mentioned I only need net1’s parameters. I think you should use.

---

_[View the full topic](https://discuss.pytorch.org/t/what-does-torch-backends-cudnn-benchmark-do/5936)._
