| 4 | #include "ctranslate2/ops/ops.h" |
| 5 | |
| 6 | TEST(OpTest, Transpose1D) { |
| 7 | StorageView x({4}, std::vector<float>{1, 2, 3, 4}); |
| 8 | StorageView y; |
| 9 | ops::Transpose()(x, y); |
| 10 | expect_storage_eq(y, x); |
| 11 | } |
| 12 | |
| 13 | TEST(OpTest, Squeeze) { |
| 14 | StorageView x({2, 1, 3}, DataType::FLOAT32); |
nothing calls this directly
no test coverage detected