torchsig.utils.verifyΒΆ
Data verification and error checking utils
Functions
Verifies if the value a is within the specified bounds (low, high). |
|
Verifies that the value d is a dictionary and optionally checks for required keys and their types. |
|
Verifies and normalizes a given distribution list. |
|
Verifies that the value f is a float and within the specified bounds. |
|
Verifies that the value a is an integer and within the specified bounds. |
|
Verifies that the value list_check is a list and optionally checks for duplicates or verifies item types. |
|
Verifies that the value tt is a valid target transform, which can be a single target transform or a list of transforms. |
|
Verifies that the value n is a NumPy array and optionally checks its length or item types. |
|
Verifies that the value s is a string and optionally formats it according to the specified format. |
|
Verifies that the value t is a valid transform, which can be a single transform or a list of transforms. |