code: def split_stdout(stdout_str):
      stdout_str = strip_invalid_utf8(stdout_str)
      # Filter out last empty line
      return [
          line.strip()
          for line in stdout_str.split("\n")
          if len(line.strip()) > 0
      ]
  
imports: import glob
  import logging
  import numpy
  import zlib
  import os
  import random
  import re
  import sh
  import struct
  import sys
  import time
  import platform
  import six
  import common
  from common import abi_to_internal
label_desc: Use image node_id 2 for calling a global function with example usage: split_stdout(stdout_str) and returns: unknown