class_docstr: Limited-memory BFGS (L-BFGS) optimizer.
  
  Performs unconstrained optimization via L-BFGS.
  
  Args:
      max_opt_itr (int): Maximum iteration for update.
      callback (callable): Function to call during optimization.
class_docstr_tok: ["Limited-memory","BFGS","(","L-BFGS",")","optimizer",".","Performs","unconstrained","optimization","via","L-BFGS",".","Args",":","max_opt_itr","(","int",")",":","Maximum","iteration","for","update",".","callback","(","callable",")",":","Function","to","call","during","optimization","."]
code: def __init__(self, max_opt_itr=20, callback=None):
      self._max_opt_itr = max_opt_itr
      self._opt_fun = None
      self._target = None
      self._callback = callback
  
file_path: garage/src/garage/tf/optimizers/lbfgs_optimizer.py
imports: import time
  import scipy.optimize
  import tensorflow
  from garage.tf import compile_function, flatten_tensor_variables
  from garage.tf.optimizers._dtypes import LazyDict
label_desc: Use image node_id 1 to create a new LBFGSOptimizer object  with example: obj = LBFGSOptimizer(max_opt_itr, callback)