code: def _module_stack_meta_from_node(
      node: torch.fx.Node,
  ) -> _ModuleStackMeta:
      return _ModuleStackMeta(node.meta.get("nn_module_stack"))
  
imports: from __future__ import annotations
  import abc
  import collections
  import copy
  import operator
  from typing import Any, Dict, Final, Generator, Iterator, List, Optional, Sequence, Set, Tuple, Union
  import torch
  import torch.fx
  from torch.onnx._internal import _beartype
  from torch.onnx._internal.fx import _pass
  from torch.utils import _pytree
label_desc: Use image node_id 1 for calling a global function with example usage: _module_stack_meta_from_node(node) and returns: _ModuleStackMeta