license import { KernelConfig , Log } from '@tensorflow/tfjs-core' ; import { createSimpleUnaryImpl } from '../utils/unary_impl' ; import { unaryKernelFuncFromImpl } from '../utils/unary_utils' ; export const logImpl = createSimpleUnaryImpl ( ( xi ) => Math . log ( xi ) ) ; export const log = unaryKernelFuncFromImpl ( Log , logImpl ) ; export const logConfig = { kernelName : Log , backendName : 'cpu' , kernelFunc : log , } ;