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.- Parameters:
observation (Dict[str, Union[Tensor, ndarray, floating, float, Callable[[], float]]]) –
- Return type:
Generator[None, None, None]