license import { KernelConfig , Sinh } from '@tensorflow/tfjs-core' ; import { unaryKernelFunc } from '../kernel_utils/kernel_funcs_utils' ; const SINH = `
  float e2x = exp(x);
  return (e2x - 1.0 / e2x) / 2.0;
` ; export const sinh = unaryKernelFunc ( { opSnippet : SINH } ) ; export const sinhConfig = { kernelName : Sinh , backendName : 'webgl' , kernelFunc : sinh , } ;