| 6 | }; |
| 7 | |
| 8 | TEST(LayerTest, MakeRelativePositions1D) { |
| 9 | const StorageView positions = layers::make_relative_positions(1, 4, 2); |
| 10 | const StorageView expected({1, 4}, std::vector<int32_t>{0, 0, 1, 2}); |
| 11 | expect_storage_eq(positions, expected); |
| 12 | } |
| 13 | |
| 14 | TEST(LayerTest, MakeRelativePositions2D) { |
| 15 | const StorageView positions = layers::make_relative_positions(4, 4, 2); |
nothing calls this directly
no test coverage detected