(x:Tensor)
| 18 | # **************** new FlopCounter **************** |
| 19 | |
| 20 | def get_stats(x:Tensor): |
| 21 | est = estimate_uop(compile_linear(x.schedule_linear()).src[-1]) |
| 22 | return est.ops, est.mem |
| 23 | |
| 24 | @unittest.skipIf(Device.DEFAULT == "WEBGPU", "webgpu does extra load/store for packed types") |
| 25 | class TestMemoryCount(unittest.TestCase): |
no test coverage detected
searching dependent graphs…