generate() did on one step. The runtime builds it and hands it to process_output();
your code reads it and never constructs one.
Definition
Any
What
generate() returned, in whatever type you gave it. None when it raised.Exception | None
What
generate() raised. None when it returned.float
Wall-clock seconds
generate() took, whether it returned or raised.Output | None
Reads the result as media. Returns it when it is already an
Output, None when the result is
None, and raises NotImplementedError naming the type for anything else. This is what the
default process_output() calls.