code: def strarr2int8arr(str, sep="\n"):
      bytes = sep.join(str).encode("utf-8")
      arr = np.frombuffer(bytes, dtype="int8")
      return arr
  
file_path: PGL/ogb_examples/graphproppred/ogbg_molpcba/utils/util.py
imports: import os
  import sys
  import warnings
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: strarr2int8arr(str, sep) and returns: arr