code: def object_rotation_in_blender_world(voxels, object_rotation):
      """Rotate the voxels as in blender world."""
      euler_angles = np.array([0, 0, 1], dtype=np.float32) * np.deg2rad(
          90
      )
      object_correction_matrix = rotation_matrix_3d.from_euler(
          euler_angles
      )
      euler_angles = np.array([0, 1, 0], dtype=np.float32) * (
          -object_rotation
      )
      object_rotation_matrix = rotation_matrix_3d.from_euler(
          euler_angles
      )
      euler_angles_blender = np.array(
          [1, 0, 0], dtype=np.float32
      ) * np.deg2rad(-90)
      blender_object_correction_matrix = rotation_matrix_3d.from_euler(
          euler_angles_blender
      )
      transformation_matrix = tf.matmul(
          tf.matmul(object_correction_matrix, object_rotation_matrix),
          blender_object_correction_matrix,
      )
  
      return transform_volume(voxels, transformation_matrix)
  
file_path: graphics/tensorflow_graphics/projects/neural_voxel_renderer/helpers.py
imports: import numpy
  import tensorflow
  from tensorflow_graphics.geometry.representation import grid
  from tensorflow_graphics.geometry.transformation import rotation_matrix_3d
  from tensorflow_graphics.math.interpolation import trilinear
  from tensorflow_graphics.rendering.camera import perspective
  from tensorflow_graphics.rendering.volumetric import emission_absorption
label_desc: Use image node_id 7 for calling a global function with example usage: object_rotation_in_blender_world(voxels, object_rotation) and returns: transform_volume