validate_weights_matrix: Validator for weights_matrix class object
Description
Validator for weights_matrix class object
Usage
validate_weights_matrix(wml)
Value
If wml has a valid structure for a weights_matrix class
object, returns the input unchanged. Otherwise, raises an error.
Arguments
- wml
A weights_matrix-like matrix object to be validated.