TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-15

tensorplay.library.define

tensorplay.library.define(qualname: str, schema: str | None = None, *, lib: Any = None, tags: Any = ()) → None[source]

Creates the CustomOpDef if absent (kernels are then attached with impl() or Library("ns", "IMPL").impl). tags is Like Library.define, a full "ns::op(Tensor) -> Tensor" string may be pasted as qualname.

On this page

Ask DeepWiki