code: def block_indices(phoenix_spec):
      """Returns a list of allowable BlockType enum values from a phoenix_spec."""
      return [
          block_builder.BlockType[block_type]
          for block_type in phoenix_spec.blocks_to_use
      ]
  
file_path: model_search/model_search/search/common.py
imports: import os
  from model_search import block_builder
  from model_search.architecture import architecture_utils
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 6 for calling a global function with example usage: block_indices(phoenix_spec) and returns: unknown