def calc_gradient(self, inputs=None, outputs=None, mode='auto',
                      return_format='array'):

        return self._calc_gradient(inputs=inputs, outputs=outputs,
                                   mode=mode, return_format=return_format,
                                   force_regen=True)
Returns the Jacobian of derivatives between inputs and outputs.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/driver.py/Driver.calc_gradient