license import { Atan2 , KernelConfig } from '@tensorflow/tfjs-core' ; import { createSimpleBinaryKernelImpl } from '../utils/binary_impl' ; import { binaryKernelFunc } from '../utils/binary_utils' ; export const atan2Impl = createSimpleBinaryKernelImpl ( ( aValue , bValue ) => Math . atan2 ( aValue as number , bValue as number ) ) ; export const atan2 = binaryKernelFunc ( Atan2 , atan2Impl ) ; export const atan2Config = { kernelName : Atan2 , backendName : 'cpu' , kernelFunc : atan2 , } ;