Module dopt.cpu

This module enables operation graphs to be evaluated using CPU kernels.

Functions

NameDescription
deregisterCPUKernel(opName)Deregisters the kernel associated with the specified operation.
evaluateCPU(ops, args)Evaluates an several nodes from the operation graph using the CPU.
listAllCPUOperations()Provides a list of operations for which a CPUKernel has been registered.
registerCPUKernel(opName, kernel)Registers a kernel for the specified operation.

Interfaces

NameDescription
CPUKernelCommon interface for all CPU kernels.

Classes

NameDescription
CPUKernelDelegateConvenience class that allows one to wrap a delegate and implement CPUKernel.