license import { IsNan , KernelConfig } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; const IS_NAN = `return float(isnan(x));` ; export const isNaN = unaryKernelFunc ( { opSnippet : IS_NAN , dtype : 'bool' } ) ; export const isNaNConfig = { kernelName : IsNan , backendName : 'webgl' , kernelFunc : isNaN , } ;