()
| 6 | |
| 7 | @pytest.mark.local |
| 8 | def test_circular_naive(): |
| 9 | buf = TensorQueue(torch.Size((3, 1)), grow_dim=0, device=torch.device('cpu'), dtype=torch.float32) |
| 10 | x = torch.tensor([[1.]]) |
| 11 | buf.push(x) |
| 12 | assert (buf.tensor == torch.tensor([[1.]])).all() |
| 13 | |
| 14 | |
| 15 | @pytest.mark.local |
nothing calls this directly
no test coverage detected