code: def inner(a, b, sparse=None):
      """
      Returns the inner product of a and b for arrays of floating point types.
  
      Like the generic NumPy equivalent the product sum is over the last dimension
      of a and b. The first argument is not conjugated.
  
      """
      a, b = astensor(a), astensor(b)
      if a.isscalar() and b.isscalar():
          ret = a * b
      else:
          ret = tensordot(a, b, axes=(-1, -1), sparse=sparse)
  
      return ret
  
label_desc: Use image node_id 1 for calling a global function with example usage: inner(a, b, sparse) and returns: ret