code: def to_bigdl_metrics(metrics):
      metrics = to_list(metrics)
      bmetrics = []
      for metric in metrics:
          if metric == "accuracy":
              bmetrics.append(boptimizer.Top1Accuracy())
          else:
              unsupport_exp(metric)
      # TODO: add more metrics
      return bmetrics
  
file_path: BigDL/python/dllib/src/bigdl/dllib/nn/keras/optimization.py
imports: import keras.optimizers
  import bigdl.dllib.nn.criterion
  import bigdl.dllib.optim.optimizer
  from bigdl.dllib.utils.common import to_list
  from bigdl.dllib.keras.converter import *
  from keras.objectives import *
  import six
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 1 for calling the OptimConverter obj's underlying member method code with example usage: obj.to_bigdl_metrics(metrics) and returns: bmetrics