code: def test_many_hidden(self, module_cls, num_hidden):
      module = module_cls(num_hidden=num_hidden)
      parameters = list(module.named_parameters())
  
      assert len(parameters) == 2 * (num_hidden + 1)
      assert len(module.sequential) == (3 * num_hidden) + 1
  
file_path: skorch/skorch/tests/test_toy.py
imports: import numpy
  import pytest
  import torch
  from torch import nn
label_desc: Use image node_id 4 for calling the TestMLPModule obj's underlying member method code with example usage: obj.test_many_hidden(module_cls, num_hidden) without return types