Skip to content

Draft 1

Latest

Choose a tag to compare

@otaviog otaviog released this 05 Oct 00:49
· 371 commits to main since this release
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.