10 references to Tanh
Microsoft.ML.Core (1)
Utilities\MathUtils.cs (1)
524
return Math.
Tanh
(x).ToFloat();
Microsoft.ML.StandardTrainers (5)
LdSvm\LdSvmModelParameters.cs (2)
254
score += Math.
Tanh
(_sigma * (VectorUtils.DotProduct(in _thetaPrime[current], in src) + _biasThetaPrime[current])) *
259
score += Math.
Tanh
(_sigma * (VectorUtils.DotProduct(in _thetaPrime[current], in src) + _biasThetaPrime[current])) *
LdSvm\LdSvmTrainer.cs (3)
212
tanhThetaTx[i] = (float)Math.
Tanh
(gamma * (VectorUtils.DotProduct(in feat, in theta[i]) + biasTheta[i]));
324
var tanhDist = (float)Math.
Tanh
(gamma * (VectorUtils.DotProduct(in features, in theta[i]) + biasTheta[i]));
331
localWt[l] = (float)Math.
Tanh
(_options.Sigma * (VectorUtils.DotProduct(in features, in thetaPrime[l]) + biasThetaPrime[l]));
Microsoft.ML.Transforms (2)
Expression\BuiltinFunctions.cs (2)
253
FunctionProviderUtils.Fn<R8, R8>(Math.
Tanh
));
673
return (R4)Math.
Tanh
(a);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
874
public static double Tanh(double x) => Math.
Tanh
(x);
System.Runtime.Numerics (1)
System\Numerics\Complex.cs (1)
473
return new Complex(sin / cosh / D, Math.
Tanh
(y2) / D);