license import { KernelConfig , LogicalAnd } from '@tensorflow/tfjs-core' ; import { createSimpleBinaryKernelImpl } from '../utils/binary_impl' ; import { binaryKernelFunc } from '../utils/binary_utils' ; export const logicalAndImpl = createSimpleBinaryKernelImpl ( ( a , b ) => a && b ) ; export const logicalAnd = binaryKernelFunc ( LogicalAnd , logicalAndImpl , null , 'bool' ) ; export const logicalAndConfig = { kernelName : LogicalAnd , backendName : 'cpu' , kernelFunc : logicalAnd } ;