layers: Add string validation to param_checker
3 files changed