WX-Game1/Assets/MotionFramework/Scripts/Runtime/Engine/Engine.AI/ANN/NeuralDefine.cs

54 lines
847 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//--------------------------------------------------
// Motion Framework
// Copyright©2018-2020 何冠峰
// Licensed under the MIT license
//--------------------------------------------------
namespace MotionFramework.AI
{
/// <summary>
/// 神经网络层的类型
/// </summary>
public enum ENeuralLayerType
{
Input,
Hidden,
Output
}
/// <summary>
/// 神经细胞的激活函数
/// </summary>
public enum ENeuralAct
{
/// <summary>
/// 罗吉斯函数S型函数
/// </summary>
Logistic,
/// <summary>
/// 阶跃函数
/// </summary>
Step,
/// <summary>
/// 正切函数
/// </summary>
Tanh,
/// <summary>
/// 双曲函数
/// </summary>
BipolarSigmoid,
/// <summary>
/// Softmax
/// </summary>
Softmax,
/// <summary>
/// 线性函数
/// </summary>
Linear
}
}