# xdoctest: +SKIP("Undefined variables") >>> # xdoctest: +REQUIRES(env:TORCH_DOCTEST_AUTOGRAD_PROFILER) >>> with torch.autograd.profiler.emit_itt(): ... model(x) TFc