raise_error_if_invalid#
- SimilarityMetric.raise_error_if_invalid()[source]#
Raise a ValueError if
dtype
is not amongallowed_dtypes
and the latter is not an empty list.
Site Navigation
Section Navigation
Raise a ValueError if dtype
is not among
allowed_dtypes
and the latter is not an empty list.