code: def test_two_hidden(self, module_cls):
      module = module_cls(num_hidden=2)
      parameters = list(module.named_parameters())
  
      # 3 linear * (weight + bias)
      assert len(parameters) == 6
  
      # 3 linear, 2 relu, 2 dropout
      assert len(module.sequential) == 7
      assert isinstance(module.sequential[0], nn.Linear)
      assert isinstance(module.sequential[1], nn.ReLU)
      assert isinstance(module.sequential[2], nn.Dropout)
      assert isinstance(module.sequential[3], nn.Linear)
      assert isinstance(module.sequential[4], nn.ReLU)
      assert isinstance(module.sequential[5], nn.Dropout)
      assert isinstance(module.sequential[6], nn.Linear)
  
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 3 for calling the TestMLPModule obj's underlying member method code with example usage: obj.test_two_hidden(module_cls) without return types