docstr: Test sequential on modules that take named inputs in kwargs.
docstr_tok: ["Test","sequential","on","modules","that","take","named","inputs","in","kwargs","."]
code: def test_kwargs(self):
      """Test sequential on modules that take named inputs in kwargs."""
  
      class MyModule:
          def __init__(self):
              pass
  
          def __call__(self, x, some_param):
              return x + some_param
  
      seq = objax.nn.Sequential([MyModule(), MyModule()])
      self.assertEqual(seq(1, some_param=2), 5)
      with self.assertRaises(TypeError):
          seq(1)
  
file_path: objax/tests/sequential.py
imports: import unittest
  import jax.numpy
  import objax
label_desc: Use image node_id 3 for calling the TestSequential obj's underlying member method code with example usage: obj.test_kwargs() and returns: unknown