parameters: (y0, y1, k, dt, tableau=_DORMAND_PRINCE_TABLEAU)
docstring: Fit an interpolating polynomial to the results of a Runge-Kutta step.
docstring_summary: Fit an interpolating polynomial to the results of a Runge-Kutta step.
docstring_tokens: Fit an interpolating polynomial to the results of a Runge - Kutta step .
function: def _interp_fit_rk(y0, y1, k, dt, tableau=_DORMAND_PRINCE_TABLEAU):
    """Fit an interpolating polynomial to the results of a Runge-Kutta step."""
    with ops.name_scope('interp_fit_rk'):
      dt = math_ops.cast(dt, y0.dtype)
      y_mid = y0 + _scaled_dot_product(dt, tableau.c_mid, k)
      f0 = k[0]
      f1 = k[-1]
      return _interp_fit(y0, y1, y_mid, f0, f1, dt)
function_tokens: def _interp_fit_rk ( y0 , y1 , k , dt , tableau = _DORMAND_PRINCE_TABLEAU ) : with ops . name_scope ( 'interp_fit_rk' ) : dt = math_ops . cast ( dt , y0 . dtype ) y_mid = y0 + _scaled_dot_product ( dt , tableau . c_mid , k ) f0 = k [ 0 ] f1 = k [ - 1 ] return _interp_fit ( y0 , y1 , y_mid , f0 , f1 , dt )