code: def _namedtuple_flatten_spec_exact_match(
      d: NamedTuple, spec: TreeSpec
  ) -> bool:
      return len(d) == spec.num_children
  
file_path: pytorch/torch/fx/_pytree.py
imports: from collections import namedtuple
  from typing import Any, Callable, Dict, List, NamedTuple, Optional, Tuple, Type
  from torch.utils._pytree import LeafSpec, PyTree, TreeSpec
label_desc: Use image node_id 10 for calling a global function with example usage: _namedtuple_flatten_spec_exact_match(d, spec) and returns: unknown