license import { Floor , KernelConfig } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; import { floorImplCPU } from '../kernel_utils/shared' ; const FLOOR = `return floor(x);` ; export const floor = unaryKernelFunc ( { opSnippet : FLOOR , packedOpSnippet : FLOOR , cpuKernelImpl : floorImplCPU } ) ; export const floorConfig = { kernelName : Floor , backendName : 'webgl' , kernelFunc : floor , } ;