def METHOD_NAME(cls, config):
    return cls(
        inputs=[
            [
                preprocessors_module.deserialize(preprocessor)
                for preprocessor in preprocessors
            ]
            for preprocessors in config["inputs"]
        ],
        outputs=[
            [
                preprocessors_module.deserialize(preprocessor)
                for preprocessor in preprocessors
            ]
            for preprocessors in config["outputs"]
        ],
    )