code: def test_cudnn(self) -> None:
      m = self._build_pipeline()
      m.config.cudnn_benchmark = True
      m.build(cflearn.SetDefaultsBlock())
      self.assertTrue(torch.backends.cudnn.benchmark)
      m.config.cudnn_benchmark = False
      m.build(cflearn.SetDefaultsBlock())
      self.assertFalse(torch.backends.cudnn.benchmark)
  
file_path: carefree-learn/tests/test_pipeline.py
imports: import os
  import torch
  import cflearn
  import unittest
  import numpy
label_desc: Use image node_id 2 for calling the TestPipeline obj's underlying member method code with example usage: obj.test_cudnn() without return types