license import { GreaterEqual , KernelConfig } from '@tensorflow/tfjs-core' ; import { createSimpleBinaryKernelImpl } from '../utils/binary_impl' ; import { binaryKernelFunc } from '../utils/binary_utils' ; export const greaterEqualImpl = createSimpleBinaryKernelImpl ( ( a , b ) => ( a >= b ) ? 1 : 0 ) ; export const greaterEqual = binaryKernelFunc ( GreaterEqual , greaterEqualImpl , null , 'bool' ) ; export const greaterEqualConfig = { kernelName : GreaterEqual , backendName : 'cpu' , kernelFunc : greaterEqual } ;