tiatoolbox . utils . misc . assert_dtype_int
tiatoolbox
utils
misc
assert_dtype_int
Generate error if dtype is not int.
input_var (ndarray) – input variable to be tested.
message (str) – Error message to be displayed.
Generates an AssertionError message if input is not an int.