license import { KernelConfig , Relu } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../utils/unary_utils' ; export const relu = unaryKernelFunc ( Relu , ( xi ) => Math . max ( 0 , xi ) ) ; export const reluConfig = { kernelName : Relu , backendName : 'cpu' , kernelFunc : relu , } ;