code: def get_default_embedding_size(num_features):
      return min(
          int(np.round(6 * (num_features**0.25))), num_features
      )
  
file_path: magenta/magenta/models/gansynth/lib/util.py
imports: import io
  import os
  from absl import logging
  import numpy
  import tensorflow.compat.v1
  import tf_slim
label_desc: Use image node_id 1 for calling a global function with example usage: get_default_embedding_size(num_features) and returns: min