类 MultiSelfAttention
java.lang.Object
org.wlld.transFormer.seflAttention.MultiSelfAttention
-
构造器概要
构造器构造器说明MultiSelfAttention(int multiNumber, double studyPoint, int depth, int wordVectorDimension, boolean encoder, CodecBlock codecBlock, int maxLength, boolean selfTimeCode, int coreNumber) -
方法概要
修饰符和类型方法说明voidintgetDepth()getModel()voidinsertModel(MultiSelfAttentionModel multiSelfAttentionModel) voidsendMatrixMessage(long eventID, Matrix feature, boolean isStudy, OutBack outBack, List<Integer> E, Matrix encoderFeature) voidsetLayNorm(LayNorm layNorm)
-
构造器详细资料
-
MultiSelfAttention
public MultiSelfAttention(int multiNumber, double studyPoint, int depth, int wordVectorDimension, boolean encoder, CodecBlock codecBlock, int maxLength, boolean selfTimeCode, int coreNumber) throws Exception - 抛出:
Exception
-
-
方法详细资料
-
setLayNorm
-
getDepth
public int getDepth() -
insertModel
- 抛出:
Exception
-
getModel
-
backError
-
sendMatrixMessage
-