Table of Contents

Delegate DirectILKernelGenerator.NanToNumKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Universal nan_to_num kernel signature: read from src, replace non-finite values with the scalar fills, write to dst. size is the element count. nan / posinf / neginf each point to ONE value of the kernel dtype.

public delegate void DirectILKernelGenerator.NanToNumKernel(void* src, void* dst, long size, void* nan, void* posinf, void* neginf)

Parameters

src void*
Universal nan_to_num kernel signature: read from src, replace non-finite values with the scalar fills, write to dst. size is the element count. nan / posinf / neginf each point to ONE value of the kernel dtype.
dst void*
Universal nan_to_num kernel signature: read from src, replace non-finite values with the scalar fills, write to dst. size is the element count. nan / posinf / neginf each point to ONE value of the kernel dtype.
size long
Universal nan_to_num kernel signature: read from src, replace non-finite values with the scalar fills, write to dst. size is the element count. nan / posinf / neginf each point to ONE value of the kernel dtype.
nan void*
Universal nan_to_num kernel signature: read from src, replace non-finite values with the scalar fills, write to dst. size is the element count. nan / posinf / neginf each point to ONE value of the kernel dtype.
posinf void*
Universal nan_to_num kernel signature: read from src, replace non-finite values with the scalar fills, write to dst. size is the element count. nan / posinf / neginf each point to ONE value of the kernel dtype.
neginf void*
Universal nan_to_num kernel signature: read from src, replace non-finite values with the scalar fills, write to dst. size is the element count. nan / posinf / neginf each point to ONE value of the kernel dtype.