Missed TensorFlow World? Check out the recap. Learn more

tfp.math.ode.Diagnostics

View source on GitHub

Class Diagnostics

Diagnostics returned by a Solver.

Properties

num_jacobian_evaluations

Number of Jacobian evaluations.

Returns:

  • num_jacobian_evaluations: Scalar integer Tensor containing number of Jacobian evaluations.

num_matrix_factorizations

Number of matrix factorizations.

Returns:

  • num_matrix_factorizations: Scalar integer Tensor containing the number of matrix factorizations.

num_ode_fn_evaluations

Number of function evaluations.

Returns:

  • num_ode_fn_evaluations: Scalar integer Tensor containing the number of function evaluations.

status

Completion status.

Returns:

  • status: Scalar integer Tensor containing the reason for termination. -1 on failure, 1 on termination by an event, and 0 otherwise.

success

Boolean indicating whether or not the method succeeded.

Returns:

  • success: Boolean Tensor equivalent to status >= 0.