code: def generate_preset_test_euler_angles(dimensions=3):
      """Generates a permutation with duplicate of some classic euler angles."""
      permutations = itertools.product(
          [
              0.0,
              np.pi,
              np.pi / 2.0,
              np.pi / 3.0,
              np.pi / 4.0,
              np.pi / 6.0,
          ],
          repeat=dimensions,
      )
      return np.array(list(permutations))
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  import math
  import numpy
  from scipy import stats
  from six.moves import range
  import tensorflow.compat.v2
  from tensorflow_graphics.geometry.transformation import axis_angle
  from tensorflow_graphics.geometry.transformation import quaternion
  from tensorflow_graphics.geometry.transformation import rotation_matrix_2d
  from tensorflow_graphics.geometry.transformation import rotation_matrix_3d
label_desc: Use image node_id 1 for calling a global function with example usage: generate_preset_test_euler_angles(dimensions) and returns: np