cuda_array_validator_2d
- cubie.batchsolving._utils.cuda_array_validator_2d(instance: Any, attribute: Any, value: Any) bool[source]
Validate that a value is a two-dimensional CUDA array.
- Parameters:
instance – Instance containing the attribute (required by attrs, unused here).
attribute – Attribute metadata supplied by attrs.
value – Value provided for validation.
- Returns:
Truewhenvalueis a two-dimensional CUDA array.- Return type:
Notes
Delegates to
cuda_array_validator()withdimensionsset to2.