license import { KernelConfig , LogicalOr } from '@tensorflow/tfjs-core' ; import { createSimpleBinaryKernelImpl } from '../utils/binary_impl' ; import { binaryKernelFunc } from '../utils/binary_utils' ; export const logicalOrImpl = createSimpleBinaryKernelImpl ( ( a , b ) => a || b ) ; export const logicalOr = binaryKernelFunc ( LogicalOr , logicalOrImpl , null , 'bool' ) ; export const logicalOrConfig = { kernelName : LogicalOr , backendName : 'cpu' , kernelFunc : logicalOr } ;