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