TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

tensorplay.func.debug_unwrap

tensorplay.func.debug_unwrap(tensor: Any, *, recurse: bool = True) → Any

Returns the plain tensor underlying a transform’s temporary wrapper.

Transforms in this build hand ordinary tensors to the function they wrap, so there is nothing to strip and the argument is returned unchanged. The entry point exists so that debugging code written against it keeps working if a wrapper representation is introduced later.

On this page

Ask DeepWiki