class_docstr: Implementation of PureFunction for functions.
  It just acts as a thin wrapper for the function.
  
  Examples
  --------
  >>> def fcn(x, y):
  ...     return x + y
  >>> pfunc = FunctionPureFunction(fcn)
  >>> pfunc(1, 2)
  3
class_docstr_tok: ["Implementation","of","PureFunction","for","functions",".","It","just","acts","as","a","thin","wrapper","for","the","function",".","Examples","--","--","--","--",">",">",">","def","fcn","(","x",",","y",")",":","...","return","x","+","y",">",">",">","pfunc","=","FunctionPureFunction","(","fcn",")",">",">",">","pfunc","(","1",",","2",")","3"]
docstr: Set the object parameters.
  
  Parameters
  ----------
  objparams: List
      The object parameters to be set
docstr_tok: ["Set","the","object","parameters",".","Parameters","--","--","--","--","--","objparams",":","List","The","object","parameters","to","be","set"]
code: def _set_all_obj_params(self, objparams: List):
      """Set the object parameters.
  
      Parameters
      ----------
      objparams: List
          The object parameters to be set
  
      """
      pass
  
imports: import torch
  import inspect
  from typing import Callable, List, Tuple, Union
  from deepchem.utils.attribute_utils import set_attr, del_attr
  from deepchem.utils.differentiation_utils import EditableModule
  from deepchem.utils.misc_utils import Uniquifier
  from contextlib import contextmanager
  from abc import abstractmethod
label_desc: Use image node_id 2 for calling the FunctionPureFunction obj's underlying member method code with example usage: obj._set_all_obj_params(objparams) without return types