code: def to_bigdl_metrics(metrics, loss):
      return [to_bigdl_metric(m, loss) for m in metrics]
  
imports: from bigdl.optim.optimizer import *
  from zoo.pipeline.api.keras.objectives import *
  from zoo.pipeline.api.keras import metrics
label_desc: Use image node_id 4 for calling a global function with example usage: to_bigdl_metrics(metrics, loss) and returns: unknown