# chainer.backends.cuda.elementwise¶

chainer.backends.cuda.elementwise(in_params, out_params, operation, name, **kwargs)[source]

Creates an elementwise kernel function.

This function uses memoize() to cache the kernel object, i.e. the resulting kernel object is cached for each argument combination and CUDA device.

The arguments are the same as those for cupy.ElementwiseKernel, except that the name argument is mandatory.