code: def _count_differentiable_params(module):
      return len([p for p in module.parameters() if p.requires_grad])
  
file_path: torchsde/tests/test_adjoint.py
imports: import sys
  import pytest
  import torch
  import torchsde
  from torchsde.settings import LEVY_AREA_APPROXIMATIONS, METHODS, NOISE_TYPES, SDE_TYPES
  from .None import utils
  from .None import problems
label_desc: Use image node_id 6 for calling a global function with example usage: _count_differentiable_params(module) and returns: len