API symbolsautogradlatest (dev)latest (dev)2026-09-08v1.0.02026-09-06CopyCopy as MarkdownCopy page linkView MarkdownOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok Interval class tensorplay.autograd.profiler_util.Interval(start, end)[source] elapsed_us()[source] Returns the length of the interval Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issueInplaceFunctionIn-place operations must call ctx.mark_dirty on the mutated inputs inside forward ; this subclass exists only so historical code that subclasses it keeps working.KernelReturn number of occurrences of value.