torch.RegisterKernelOptions
export interface RegisterKernelOptions {
/**
* Optional predicate to conditionally use this kernel.
* Useful for specialized implementations.
*/
readonly predicate?: KernelPredicate;
/**
* Whether this kernel can be fused with other pointwise operations.
*/
readonly fusable?: boolean;
}- readonly
predicate(KernelPredicate)optional - – Optional predicate to conditionally use this kernel. Useful for specialized implementations.
- readonly
fusable(boolean)optional - – Whether this kernel can be fused with other pointwise operations.
Common kernel registration options.