get_config_validator

tfsnippet.utils.get_config_validator(type)

Get an instance of ConfigValidator for specified type.

Parameters:type – The value type.
Returns:The config value validator.
Return type:ConfigValidator