TensorPlay
API symbolslibrary
Copy
View Markdown

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