license import { Atan , KernelConfig } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; import { CHECK_NAN_SNIPPET } from '../unaryop_gpu' ; const ATAN = CHECK_NAN_SNIPPET + `
  return atan(x);
` ; export const atan = unaryKernelFunc ( { opSnippet : ATAN } ) ; export const atanConfig = { kernelName : Atan , backendName : 'webgl' , kernelFunc : atan , } ;