API symbolslibrary
Copy
tensorplay.library.define
- tensorplay.library.define(qualname: str, schema: str | None = None, *, lib: Any = None, tags: Any = ()) None[source]
Creates the
CustomOpDefif absent (kernels are then attached withimpl()orLibrary("ns", "IMPL").impl).tagsis LikeLibrary.define, a full"ns::op(Tensor) -> Tensor"string may be pasted asqualname.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

