View source on GitHub |
The span set for the current thread.
tff.profiler.ThreadLocalSpanYields()
This is only used when outside of an async context.
Methods
get
get() -> Optional[tff.profiler.SpanYields
]
set
set(
span_yields: Optional[tff.profiler.SpanYields
]
)