Train extension for modifying dropout params.