license import { KernelConfig , Reciprocal } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; const RECIPROCAL = `return 1.0 / x;` ; export const reciprocal = unaryKernelFunc ( { opSnippet : RECIPROCAL } ) ; export const reciprocalConfig = { kernelName : Reciprocal , backendName : 'webgl' , kernelFunc : reciprocal , } ;