diff --git a/src/main/java/org/dromara/easyai/naturalLanguage/word/WordBack.java b/src/main/java/org/dromara/easyai/naturalLanguage/word/WordBack.java new file mode 100644 index 0000000..6aff41b --- /dev/null +++ b/src/main/java/org/dromara/easyai/naturalLanguage/word/WordBack.java @@ -0,0 +1,45 @@ +package org.dromara.easyai.naturalLanguage.word; + +import org.dromara.easyai.entity.ThreeChannelMatrix; +import org.dromara.easyai.i.OutBack; +import org.dromara.easyai.matrixTools.Matrix; + +import java.util.List; + +public class WordBack implements OutBack { + private int id; + + public int getId() { + return id; + } + + @Override + public void getBack(float out, int id, long eventId) { + this.id = id; + } + + @Override + public void getSoftMaxBack(long eventId, List softMax) { + + } + + @Override + public void backWord(String word, long eventId) { + + } + + @Override + public void getBackMatrix(Matrix matrix, int id, long eventId) { + + } + + @Override + public void getWordVector(int id, float w) { + + } + + @Override + public void getBackThreeChannelMatrix(ThreeChannelMatrix picture) { + + } +}