code: def get_tensor_meta(node: Node) -> Any:
      tensor_meta = node.meta.get("tensor_meta")
  
      if not tensor_meta:
          raise RuntimeError(
              f"Node {node} has no tensor metadata associated with it! "
              f"Check that shape propagation has run."
          )
  
      return tensor_meta
  
file_path: pytorch/torch/fx/passes/graph_manipulation.py
imports: from typing import Any, Dict, List, NamedTuple, Optional
  import torch
  from torch.fx._compatibility import compatibility
  from torch.fx.graph import Graph
  from torch.fx.graph_module import GraphModule
  from torch.fx.node import map_arg, Node, Target
  from torch.fx.passes.shape_prop import ShapeProp
label_desc: Use image node_id 3 for calling a global function with example usage: get_tensor_meta(node) and returns: tensor_meta