dopt v0.3.12 (2018-05-30T08:02:37Z)
Dub
Repo
CPUKernelDelegate
dopt
cpu
Convenience class that allows one to wrap a delegate and implement CPUKernel.
class
CPUKernelDelegate :
CPUKernel
{
this
(void delegate(Operation, const(void[])[], void[]) kern);
void
execute
(Operation op, const(void[])[] inputs, void[] output);
}
Constructors
this
this
(void delegate(Operation, const(void[])[], void[]) kern)
Undocumented in source.
Members
Functions
execute
void
execute
(Operation op, const(void[])[] inputs, void[] output)
Undocumented in source. Be warned that the author may not have intended to support it.
Inherited Members
From CPUKernel
execute
void
execute
(Operation op, const(void[])[] inputs, void[] output)
Undocumented in source.
Meta
Source
See Implementation
dopt
cpu
modules
basic
math
nnet
random
classes
CPUBuffer
CPUKernelDelegate
CPUPlan
functions
deregisterCPUKernel
evaluateCPU
listAllCPUOperations
registerCPUKernel
interfaces
CPUKernel
Convenience class that allows one to wrap a delegate and implement CPUKernel.