license import { KernelConfig , Pow } from '@tensorflow/tfjs-core' ; import { createSimpleBinaryKernelImpl } from '../utils/binary_impl' ; import { binaryKernelFunc } from '../utils/binary_utils' ; export const powImpl = createSimpleBinaryKernelImpl ( ( a , b ) => Math . pow ( a , b ) ) ; export const pow = binaryKernelFunc ( Pow , powImpl ) ; export const powConfig = { kernelName : Pow , backendName : 'cpu' , kernelFunc : pow } ;