code: def get_shape_from_rewritten_layout(rewritten_layout, axis_names):
      """Get the orginal shape from a rewritten layout string.
  
      Parameters
      ----------
      rewritten_layout: str
          The layout after rewrite
      axis_names: List[str]
          Specify the order of axes by names
  
      Returns
      -------
      shape: List[PrimExpr]
          The original shape
      """
      return _ffi_api.GetShapeFromRewrittenLayout(
          rewritten_layout, axis_names
      )
  
imports: import hashlib
  import json
  import tvm._ffi
  from tvm.runtime import Object
  from tvm.runtime._ffi_node_api import LoadJSON, SaveJSON
  from .None import _ffi_api
  from .loop_state import State, StateObject
  from .utils import get_const_tuple
  from .workload_registry import workload_key_to_tensors
label_desc: Use image node_id 1 for calling a global function with example usage: get_shape_from_rewritten_layout(rewritten_layout, axis_names) and returns: _ffi_api