code: def _build_data_provider_filters(col_params):
      """Builds HyperparameterFilters from ColParams."""
      filters = []
      for col_param in col_params:
          if not col_param.hparam:
              # We do not pass metric filters to the DataProvider as it does not
              # have the metric data for filtering.
              continue
  
          fltr = _build_data_provider_filter(col_param)
          if fltr is None:
              continue
          filters.append(fltr)
      return filters
  
imports: import collections
  import dataclasses
  import operator
  import re
  from typing import Optional
  from google.protobuf import struct_pb2
  from tensorboard.data import provider
  from tensorboard.plugins.hparams import api_pb2
  from tensorboard.plugins.hparams import backend_context
  from tensorboard.plugins.hparams import error
  from tensorboard.plugins.hparams import json_format_compat
  from tensorboard.plugins.hparams import metadata
  from tensorboard.plugins.hparams import metrics
  from tensorboard.plugins.hparams import plugin_data_pb2
label_desc: Use image node_id 17 for calling a global function with example usage: _build_data_provider_filters(col_params) and returns: filters