latest (dev)
Copy
Latest development documentation · Updated 2026-10-15
tensorplay.library.get_kernel
- tensorplay.library.get_kernel(op: str | CustomOpDef, dispatch_key: str) Callable[[...], Any][source]
dispatch_keyaccepts"cpu"/"cuda"/"default"and the composite spellings. RaisesLookupErrorwhen nothing usable is registered (a disabled concrete kernel counts as absent, matchingCustomOpDef.set_kernel_enabled()visibility).
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

