public class MultiSelfAttention extends Object
| 构造器和说明 |
|---|
MultiSelfAttention(int multiNumber,
double studyPoint,
int depth,
int wordVectorDimension,
boolean encoder,
CodecBlock codecBlock,
int maxLength,
boolean selfTimeCode,
int coreNumber) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
backError(Matrix allErrorMatrix,
long eventID) |
int |
getDepth() |
MultiSelfAttentionModel |
getModel() |
void |
insertModel(MultiSelfAttentionModel multiSelfAttentionModel) |
void |
sendMatrixMessage(long eventID,
Matrix feature,
boolean isStudy,
OutBack outBack,
List<Integer> E,
Matrix encoderFeature,
boolean outAllPro) |
void |
setLayNorm(LayNorm layNorm) |
public MultiSelfAttention(int multiNumber,
double studyPoint,
int depth,
int wordVectorDimension,
boolean encoder,
CodecBlock codecBlock,
int maxLength,
boolean selfTimeCode,
int coreNumber)
throws Exception
Exceptionpublic void setLayNorm(LayNorm layNorm)
public int getDepth()
public void insertModel(MultiSelfAttentionModel multiSelfAttentionModel) throws Exception
Exceptionpublic MultiSelfAttentionModel getModel()
Copyright © 2024. All rights reserved.