assert_evaluates_to_scalar

probnum.utils.assert_evaluates_to_scalar(fct, valid_input)[source]

Checks whether the output of a function is a scalar.