pytorch_pfn_extras.reporting.report_scope

pytorch_pfn_extras.reporting.report_scope(observation)

Returns a report scope with the current reporter.

This is equivalent to get_current_reporter().scope(observation), except that it does not make the reporter current redundantly.