oryx.util.get_summaries

Transforms a function into one that additionally output summaries.

f a callable.

A function that when called returns the original output of f and a dictionary mapping summary names to their values during execution.