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","."]
docstr: Object.__getstate__.
  
  Returns:
      dict: The state to be pickled for the instance.
docstr_tok: ["Object.__getstate__",".","Returns",":","dict",":","The","state","to","be","pickled","for","the","instance","."]
code: def __getstate__(self):
      """Object.__getstate__.
  
      Returns:
          dict: The state to be pickled for the instance.
  
      """
      new_dict = self.__dict__.copy()
      del new_dict["_opt_fun"]
      return new_dict
  
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 5 for calling the LBFGSOptimizer obj's underlying member method code with example usage: obj.__getstate__() and returns: new_dict