code: def generate_preset_test_dual_quaternions():
      """Generates pre-set test quaternions."""
      angles = generate_preset_test_euler_angles()
      preset_quaternion_real = quaternion.from_euler(angles)
  
      translations = generate_preset_test_translations()
      translations = np.concatenate(
          (
              translations / 2.0,
              np.zeros((np.ma.size(translations, 0), 1)),
          ),
          axis=1,
      )
      preset_quaternion_translation = tf.convert_to_tensor(
          value=translations
      )
  
      preset_quaternion_dual = quaternion.multiply(
          preset_quaternion_translation, preset_quaternion_real
      )
  
      preset_dual_quaternion = tf.concat(
          (preset_quaternion_real, preset_quaternion_dual), axis=-1
      )
  
      return preset_dual_quaternion
  
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 7 for calling a global function with example usage: generate_preset_test_dual_quaternions() and returns: preset_dual_quaternion