def example_decorator(name, function):
    def wrapped_func(*args, **kwarg):
        CALLED_FUNCTION.append(name)
        return function(*args, **kwarg)
    return wrapped_func
Calculates the module's output on the dataset. Can be called with
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/monkey_patch_example/__init__.py/example_decorator--crossover with--dataset/ETHPy150Open pybrain/pybrain/pybrain/tools/validation.py/ModuleValidator.calculateModuleOutput