license import { KernelConfig , KernelFunc , Less } from '@tensorflow/tfjs-core' ; import { binaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; import { lessImplCPU } from '../kernel_utils/shared' ; const LESS = `return float(a < b);` ; const LESS_PACKED = `
  return vec4(lessThan(a, b));
` ; export const less = binaryKernelFunc ( { opSnippet : LESS , packedOpSnippet : LESS_PACKED , cpuKernelImpl : lessImplCPU , dtype : 'bool' } ) ; export const lessConfig = { kernelName : Less , backendName : 'webgl' , kernelFunc : less as { } as KernelFunc } ;