public class TalkToTalk extends MatrixOperation
| 构造器和说明 |
|---|
TalkToTalk(WordEmbedding wordEmbedding,
TfConfig tfConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAnswer(String question,
long eventID) |
void |
init() |
void |
insertModel(TransFormerModel transFormerModel) |
TransFormerModel |
study(List<TalkBody> talkBodies) |
add, adjointMatrix, algebraicCofactor, center, convolution, errorNub, getCrossEntropy, getEDist, getEDistByMatrix, getInverseMatrix, getKernelNub, getLinearRegression, getNorm, getNormCos, getPoolVector, getSdByMatrix, im2col, innerProduct, inverseNumber, ListToMatrix, listToRowVector, listToRowVector, mathAdd, mathDiv, mathMul, mathMulBySelf, mathSub, matrixMulPd, matrixPointDiv, matrixToList, matrixToVector, mulMatrix, push, pushVector, reverseIm2col, rowVectorToList, softMaxByMatrix, sub, transPositionpublic TalkToTalk(WordEmbedding wordEmbedding, TfConfig tfConfig) throws Exception
Exceptionpublic void insertModel(TransFormerModel transFormerModel) throws Exception
Exceptionpublic TransFormerModel study(List<TalkBody> talkBodies) throws Exception
ExceptionCopyright © 2024. All rights reserved.