deephyper.evaluator.profile#

deephyper.evaluator.profile(run_function)[source]#

Decorator to use on a run_function to profile its execution-time. It is to be used such as:

@profile
def run(config):
    ...
    return y
Parameters

run_function (function) – the function to decorate.

Returns

a decorated function.

Return type

function