license import { IsInf , KernelConfig } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; const IS_INF = `return float(isinf(x));` ; export const isInf = unaryKernelFunc ( { opSnippet : IS_INF , dtype : 'bool' } ) ; export const isInfConfig = { kernelName : IsInf , backendName : 'webgl' , kernelFunc : isInf , } ;