public static void kernel_V_Tanh(Index pos, ArrayView <float> output, ArrayView <float> arr) { int x = pos.X; output[x] = GPUMath.Tanh(arr[x]); }
public static void _V_Tanh(Index size, ArrayView <float> output, ArrayView <float> v) { var x = size.X; output[x] = GPUMath.Tanh(v[x]); }