license import { KernelConfig , Sin } from '@tensorflow/tfjs-core' ; import { CHECK_NAN_SNIPPET_UNARY , unaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; const SIN = CHECK_NAN_SNIPPET_UNARY + `
  return sin(x);
` ; export const sin = unaryKernelFunc ( { opSnippet : SIN } ) ; export const sinConfig = { kernelName : Sin , backendName : 'webgl' , kernelFunc : sin , } ;