license import { KernelConfig , LogicalNot } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../utils/unary_utils' ; export const logicalNot = unaryKernelFunc ( LogicalNot , ( xi ) => xi ? 0 : 1 , 'bool' ) ; export const logicalNotConfig = { kernelName : LogicalNot , backendName : 'cpu' , kernelFunc : logicalNot , } ;