code: def test_type_typechecl_maxpool2d_3dinput(self):
      class BasicBlock(torch.nn.Module):
          def __init__(self):
              super().__init__()
              self.pool = torch.nn.MaxPool2d(5, 8)
  
          def forward(self, x: TensorType((64, 8, 8))):
              out = self.pool(x)
              return out
  
      B = BasicBlock()
      ast_rewriter = RewritingTracer()
      graph = ast_rewriter.trace(B)
      traced = GraphModule(ast_rewriter.root, graph, "gm")
      tc = GraphTypeChecker({}, traced)
      tc.type_check()
  
      for n in traced.graph.nodes:
          if n.target == "output":
              assert n.type == TensorType((64, 1, 1))
  
imports: import unittest
  import torch
  from torch.fx import symbolic_trace
  from torch.fx.experimental.unify_refinements import infer_symbolic_types
  from torch.fx.experimental.refinement_types import Equality
  from torch.fx.tensor_type import TensorType, Dyn, is_consistent, is_more_precise
  from torch.fx.annotate import annotate
  from torch.fx.experimental.graph_gradual_typechecker import GraphTypeChecker, broadcast_types, Refine
  from torch.fx.experimental.rewriter import RewritingTracer
  from torch.fx import GraphModule
  from torch.fx.passes.shape_prop import ShapeProp
  from torch.testing._internal.common_utils import TestCase
  import sympy
label_desc: Use image node_id 23 for calling the TypeCheckerTest obj's underlying member method code with example usage: obj.test_type_typechecl_maxpool2d_3dinput() and returns: out