Delegate DirectILKernelGenerator.NanToNumKernel
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
srcvoid*- 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.
dstvoid*- 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.
sizelong- 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.
nanvoid*- 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.
posinfvoid*- 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.
neginfvoid*- 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.