code: def proj_transform_vec(vec, M):
      vecw = np.dot(M, vec)
      w = vecw[3]
      # clip here..
      txs, tys, tzs = vecw[0] / w, vecw[1] / w, vecw[2] / w
      return txs, tys, tzs
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from six.moves import zip
  import numpy
  import numpy.linalg
label_desc: Use image node_id 9 for calling a global function with example usage: proj_transform_vec(vec, M) and returns: txs,  tys,  tzs