code: def inner_prod(xs, ys):
      def contract(x, y):
          return np.real(np.dot(np.conj(x).reshape(-1), y.reshape(-1)))
  
      return tree_reduce(np.add, tree_map(contract, xs, ys))
  
imports: from functools import partial
  import operator
  from jax._src import api
  from jax._src import config
  from jax._src import dtypes
  from jax._src.tree_util import tree_map, tree_reduce
  import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: inner_prod(xs, ys) and returns: tree_reduce, np