license import { Ceil , KernelConfig , KernelFunc } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; import { ceilImplCPU } from '../kernel_utils/shared' ; const CEIL = `return ceil(x);` ; export const ceil = unaryKernelFunc ( { opSnippet : CEIL , packedOpSnippet : CEIL , cpuKernelImpl : ceilImplCPU } ) ; export const ceilConfig = { kernelName : Ceil , backendName : 'webgl' , kernelFunc : ceil as { } as KernelFunc } ;