license import { KernelConfig , Tan } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; const TAN = `return tan(x);` ; export const tan = unaryKernelFunc ( { opSnippet : TAN } ) ; export const tanConfig = { kernelName : Tan , backendName : 'webgl' , kernelFunc : tan , } ;