YamlLoader: when gen/GEN is available, ignore n_input's absence in configuration.