类 Nerve
java.lang.Object
org.wlld.transFormer.nerve.Nerve
- 直接已知子类:
HiddenNerve,OutNerve,SoftMax
- 作者:
- lidapeng 神经元,所有类别神经元都要继承的类,具有公用属性 @date 9:36 上午 2019/12/21
-
字段概要
字段 -
构造器概要
构造器限定符构造器说明protectedNerve(int id, String name, double studyPoint, ActiveFunction activeFunction, int sensoryNerveNub, int hiddenNerveNub, int outNerveNub, LineBlock lineBlock, int regularModel, double regular, int coreNumber) -
方法概要
修饰符和类型方法说明voidvoidconnectFather(List<Nerve> nerveList) intgetDepth()intgetId()double[][]getModel()protected voidinput(long eventId, Matrix parameter, boolean isStudy, Matrix allFeature, OutBack outBack, List<Integer> E, Matrix encoderFeature) protected booleaninsertMatrixParameter(long eventID, Matrix matrix) voidinsertModel(double[][] modelPower) protected Matrixprotected voidsendMessage(long eventId, Matrix parameter, boolean isStudy, Matrix allFeature, OutBack outBack, List<Integer> E, Matrix encoderFeature) protected voidsendOutMessage(long eventId, Matrix parameter, boolean isStudy, OutBack outBack, List<Integer> E) voidsetAfterLayNorm(LayNorm afterLayNorm) voidsetBeforeLayNorm(LayNorm beforeLayNorm) protected voidprotected voidupdatePower(long eventId, Matrix errorMatrix, Matrix allError)
-
字段详细资料
-
beforeLayNorm
-
afterLayNorm
-
powerMatrix
-
reMatrixFeatures
-
name
-
featureMatrix
-
E
protected double E -
studyPoint
protected double studyPoint -
lineBlock
-
sigmaW
-
activeFunction
-
outMatrix
-
myUpNumber
protected int myUpNumber -
depth
protected int depth
-
-
构造器详细资料
-
Nerve
protected Nerve(int id, String name, double studyPoint, ActiveFunction activeFunction, int sensoryNerveNub, int hiddenNerveNub, int outNerveNub, LineBlock lineBlock, int regularModel, double regular, int coreNumber) throws Exception - 抛出:
Exception
-
-
方法详细资料
-
getDepth
public int getDepth() -
setBeforeLayNorm
-
setAfterLayNorm
-
getModel
public double[][] getModel() -
insertModel
-
sendMessage
-
input
-
toOut
-
sendOutMessage
-
updatePower
-
insertMatrixParameter
-
opMatrix
-
getId
public int getId() -
connect
-
connectFather
-