validate

FastProp.validate(params: Optional[Dict[str, Any]] = None) None[source]

Checks both the types and the values of all instance variables and raises an exception if something is off.

Args:
params (dict, optional):

A dictionary containing the parameters to validate. params can hold the full set or a subset of the parameters explained in FastProp. If params is None, the current set of parameters in the instance dictionary will be validated.