torch.KernelRegistry.findKernelWithPredicate
KernelRegistry.findKernelWithPredicate(op: string, dtype: DType, device: Device, a: TensorMeta, b?: TensorMeta): KernelEntry | undefinedFind a kernel that matches the predicate, if any.
Parameters
opstringdtypeDTypedeviceDevicebTensorMetaoptional
Returns
KernelEntry | undefined