You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor tensor tests and improve error handling
- Enhanced tensor creation tests for `Tensor::full`, `Tensor::zeros`, and `Tensor::empty` with additional data type checks and improved assertions.
- Updated assertions to use `Catch::Approx` for floating-point comparisons to ensure precision.
- Added edge case tests for single-element tensors and large dimensions.
- Improved error messages in the `blur` operation to clarify input requirements.
- Refactored namespace usage from `p10::tensorop` to `p10::op` for consistency across operation headers.
- Cleaned up code formatting and removed unnecessary whitespace for better readability.
- Updated tests for element-wise operations and Laplacian pyramid creation to enhance clarity and maintainability.