class_docstr: .. note:: `bigdl.dllib.keras` is deprecated in 0.11.
  This will be removed in future releases.
class_docstr_tok: ["..","note",":",":","`","bigdl.dllib.keras","`","is","deprecated","in","0.11",".","This","will","be","removed","in","future","releases","."]
code: def __convert_metrics(self, metrics):
      metrics = to_list(metrics)
      bmetrics = []
      for metric in metrics:
          if metric.lower() == "accuracy":
              bmetrics.append(Top1Accuracy())
          else:
              invalidInputError(
                  False, "Unsupported metrics: %s" % metric
              )
      return bmetrics
  
imports: from bigdl.dllib.nn.keras.layers.layer import KerasLayer
  from bigdl.dllib.optim.optimizer import *
  from bigdl.dllib.nn.criterion import *
  from bigdl.dllib.utils.log4Error import *
  import multiprocessing
  import warnings
  from bigdl.dllib.nn.layer import SharedStaticUtils, Container
label_desc: Use image node_id 3 for calling the KerasModel obj's underlying member method code with example usage: obj.__convert_metrics(metrics) and returns: bmetrics