11 lines
201 B
C#
11 lines
201 B
C#
using System;
|
|
|
|
namespace NeuralNetwork {
|
|
public static class Activations {
|
|
|
|
public static float Tanh(float value) {
|
|
return (float)Math.Tanh(value);
|
|
}
|
|
|
|
}
|
|
} |