flatten_params function

Flatten / Inflate parameter lists / vectors