cuda_array_validator_3d

cubie.batchsolving._utils.cuda_array_validator_3d(instance: Any, attribute: Any, value: Any) bool[source]

Validate that a value is a three-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:

True when value is a three-dimensional CUDA array.

Return type:

bool

Notes

Delegates to cuda_array_validator() with dimensions set to 3.