code: def random_affine():
      T = np.eye(4)
      T[0:3, 0:4] = np.random.rand(3, 4)
      return T
  
imports: import numpy
  from ..affine import Affine
  from ..polyaffine import PolyAffine
label_desc: Use image node_id 1 for calling a global function with example usage: random_affine() and returns: T