code: def test_sequential_intermediary_types(self):
      class A(torch.nn.Module):
          def forward(self, x):
              return x + 3
  
      class B(torch.nn.Module):
          def forward(self, x):
              return {"1": x}
  
      class C(torch.nn.Module):
          def __init__(self):
              super().__init__()
              self.foo = torch.nn.Sequential(A(), B())
  
          def forward(self, x):
              return self.foo(x)
  
      self.checkModule(C(), (torch.tensor(1),))
  
imports: import os
  import sys
  from typing import Any, List, Tuple
  from collections import OrderedDict
  import torch
  import torch.nn
  from torch.testing._internal.jit_utils import JitTestCase
label_desc: Use image node_id 1 for calling the TestModuleContainers obj's underlying member method code with example usage: obj.test_sequential_intermediary_types() and returns: unknown, dict, self