code: def get_per_store_features_from_file(
      filename: str, max_lines: int, max_n_bufs: Optional[int] = None
  ) -> Tuple[np.ndarray, np.ndarray, np.ndarray]:
      """Get per-store features from a log file
  
      Parameters
      ----------
      filename: str
          The input filename
      max_lines: int
          Only extract the first n lines of the file
      max_n_bufs: Optional[int]
          The maximum number of extracted buffers for one statement
  
      Returns
      -------
      features: np.ndarray
          Feature vectors
      normalized_throughputs: np.ndarray
          Normalized throughputs
      task_ids: np.ndarray
          Task ids
      """
      byte_arr = _ffi_api.GetPerStoreFeaturesFromFile(
          filename, max_lines, max_n_bufs or DEFAULT_MAX_N_BUFS
      )
      return unpack_feature(byte_arr)
  
file_path: tvm/python/tvm/auto_scheduler/feature.py
imports: from typing import List, Tuple, Union, Optional, Dict
  import struct
  import numpy
  from .loop_state import State, StateObject
  from .measure import MeasureInput, MeasureResult
  from .None import _ffi_api
  from ..tir import PrimFunc
label_desc: Use image node_id 2 for calling a global function with example usage: get_per_store_features_from_file(filename, max_lines, max_n_bufs) and returns: unpack_feature