()
| 53 | |
| 54 | @torch.jit.script |
| 55 | def fn(): |
| 56 | p = torch.jit._ScriptProfile() |
| 57 | p.enable() |
| 58 | _ = seq(torch.rand((10, 100))) |
| 59 | p.disable() |
| 60 | return p |
| 61 | |
| 62 | self.assertNotEqual(fn().dump_string(), "") |
| 63 |
nothing calls this directly
no test coverage detected