class_docstr: Optimizer adaptor.
docstr: Initialize optimizer with python-level args.
  
  Args:
      target: for pytorch `model.parameters()`,
          for chainer `model`
  
  Returns:
      new Optimizer
docstr_tok: ["Initialize","optimizer","with","python-level","args",".","Args",":","target",":","for","pytorch","`","model.parameters","(",")","`",",","for","chainer","`","model","`","Returns",":","new","Optimizer"]
code: def build(cls, target, **kwargs):
      """Initialize optimizer with python-level args.
  
      Args:
          target: for pytorch `model.parameters()`,
              for chainer `model`
  
      Returns:
          new Optimizer
  
      """
      args = argparse.Namespace(**kwargs)
      args = fill_missing_args(args, cls.add_arguments)
      return cls.from_args(target, args)
  
imports: import argparse
  from espnet.utils.dynamic_import import dynamic_import
  from espnet.utils.fill_missing_args import fill_missing_args
label_desc: Use image node_id 3 for calling the OptimizerFactoryInterface obj's underlying member method code with example usage: obj.build(cls, target) and returns: cls