code: def test_sequence(self):
      model = chainerrl.links.Sequence(
          chainer.links.Linear(3, 4),
          chainer.functions.relu,
          chainer.links.Linear(4, 5),
      )
      self.assertEqual(names_of_links(model), {"/0", "/1"})
      self.assertIs(model.layers[1], chainer.functions.relu)
      to_factorized_noisy(model)
      self.assertEqual(
          names_of_links(model),
          {
              "/0",
              "/0/mu",
              "/0/sigma",
              "/1",
              "/1/mu",
              "/1/sigma",
          },
      )
      self.assertIs(model.layers[1], chainer.functions.relu)
      model.cleargrads()
  
      # assert new parameters are used
      y = model(numpy.ones((2, 3), numpy.float32))
      chainer.functions.sum(y).backward()
      for p in model.params():
          self.assertIsNotNone(p.grad)
  
file_path: chainerrl/tests/links_tests/test_noisy_chain.py
imports: import unittest
  import chainer
  import chainer.testing
  import numpy
  import chainerrl
  from chainerrl.links import to_factorized_noisy
label_desc: Use image node_id 3 for calling the TestToFactorizedNoisy obj's underlying member method code with example usage: obj.test_sequence() without return types