code: def reduce_dimension(x, n_parts):
      x = tf.layers.dense(
          inputs=x,
          units=4 * n_parts,
          activation=None,
          use_bias=False,
          name="dim_reduction",
      )
      return x
  
file_path: graphics/tensorflow_graphics/projects/nasa/lib/model_utils.py
imports: import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 7 for calling a global function with example usage: reduce_dimension(x, n_parts) and returns: x