public class SelfAttention extends Object
| 构造器和说明 |
|---|
SelfAttention(double studyPoint,
int depth,
int wordVectorDimension,
int selfID,
boolean encoder,
int coreNumber) |
| 限定符和类型 | 方法和说明 |
|---|---|
AttentionError |
backError(Matrix feature,
long eventID) |
QKVModel |
getModel() |
int |
getSelfID() |
void |
insertModel(QKVModel qkvModel) |
EventBody |
sendMatrixFeature(long eventID,
boolean isStudy,
Matrix feature,
Matrix encoderFeature) |
public int getSelfID()
public QKVModel getModel()
public AttentionError backError(Matrix feature, long eventID) throws Exception
ExceptionCopyright © 2024. All rights reserved.