code: def change_transform_origin(transform, center):
      """Create a new transform representing the same transformation,
          only with the origin of the linear part changed.
      Args
          transform: the transformation matrix
          center: the new origin of the transformation
      Returns
          translate(center) * transform * translate(-center)
      """
      center = np.array(center)
      return np.linalg.multi_dot(
          [translation(center), transform, translation(-center)]
      )
  
file_path: ImageAI/imageai_tf_deprecated/Detection/keras_retinanet/utils/transform.py
imports: import numpy
label_desc: Use image node_id 13 for calling a global function with example usage: change_transform_origin(transform, center) and returns: np