code: def _get_shape(node):
      l = node.get_shape().as_list()
      return [-1 if x is None else x for x in l]
  
imports: import tensorflow
  import numpy
  import logging
  import tempfile
  import pandas
  from pyspark import RDD, SparkContext
  from pyspark.sql import SQLContext, Row, DataFrame
  from pyspark.sql.types import DoubleType, IntegerType, LongType, FloatType, ArrayType
label_desc: Use image node_id 2 for calling a global function with example usage: _get_shape(node) and returns: unknown