class_docstr: Base class for various modules which compute derivatives.
class_docstr_tok: ["Base","class","for","various","modules","which","compute","derivatives","."]
code: def __repr__(self):
      f = (
          repr(self.f)
          if isinstance(self.f, Module)
          else repr_function(self.f)
      )
      return f"{class_name(self)}(f={f}, input_argnums={self.input_argnums or None})"
  
imports: import inspect
  from typing import List, Optional, Callable, Tuple, Dict, Union
  import jax
  from objax.module import Function, Module
  from objax.typing import JaxArray
  from objax.util import repr_function, class_name
  from objax.variable import BaseState, TrainVar, VarCollection
label_desc: Use image node_id 4 for calling the _DerivativeBase obj's underlying member method code with example usage: obj.__repr__() and returns: class_name, str, f, str, unknown, str