MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / tracing

Method tracing

monai/transforms/inverse.py:93–98  ·  view source on GitHub ↗

Returns the tracing state, which is thread-local and initialised to `MONAIEnvVars.trace_transform() != "0"`.

(self)

Source from the content-addressed store, hash-verified

91
92 @property
93 def tracing(self) -> bool:
94 """
95 Returns the tracing state, which is thread-local and initialised to `MONAIEnvVars.trace_transform() != "0"`.
96 """
97 self._init_trace_threadlocal()
98 return bool(self._tracing.value)
99
100 @tracing.setter
101 def tracing(self, val: bool):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected