public abstract class Nerve extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected ActiveFunction |
activeFunction |
protected Map<Integer,Double> |
dendrites |
protected int |
downNub |
protected double |
E |
protected Map<Long,List<Double>> |
features |
protected double |
gradient |
protected String |
name |
protected Matrix |
nerveMatrix |
protected double |
outNub |
protected int |
rnnOutNub |
protected double |
sigmaW |
protected double |
studyPoint |
protected double |
threshold |
protected int |
upNub |
protected Map<Integer,Double> |
wg |
| 限定符 | 构造器和说明 |
|---|---|
protected |
Nerve(int id,
int upNub,
String name,
int downNub,
double studyPoint,
boolean init,
ActiveFunction activeFunction,
boolean isDynamic,
int rzType,
double lParam,
int step,
int kernLen,
int rnnOutNub) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
backMatrix(Matrix g) |
protected double |
calculation(long eventId) |
void |
connect(List<Nerve> nerveList) |
void |
connectFather(List<Nerve> nerveList) |
void |
connectOut(List<Nerve> nerveList) |
protected Matrix |
conv(Matrix matrix) |
protected void |
destoryParameter(long eventId) |
Map<Integer,Double> |
getDendrites() |
int |
getId() |
Matrix |
getNerveMatrix() |
double |
getThreshold() |
protected double |
getWOne(long eventId) |
protected void |
input(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack imageBack,
boolean isEmbedding,
Matrix rnnMatrix) |
protected void |
inputMatrix(long eventId,
Matrix matrix,
boolean isKernelStudy,
int E,
OutBack outBack) |
protected boolean |
insertParameter(long eventId,
double parameter) |
void |
sendMatrix(long eventId,
Matrix parameter,
boolean isStudy,
int E,
OutBack outBack) |
void |
sendMessage(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack outBack,
boolean isEmbedding,
Matrix rnnMatrix) |
void |
sendRnnMessage(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack outBack,
boolean isEmbedding,
Matrix rnnMatrix) |
void |
setDendrites(Map<Integer,Double> dendrites) |
void |
setNerveMatrix(Matrix nerveMatrix) |
protected void |
setStudyPoint(double studyPoint) |
void |
setThreshold(double threshold) |
protected void |
updatePower(long eventId) |
protected int upNub
protected int downNub
protected int rnnOutNub
protected Matrix nerveMatrix
protected double threshold
protected String name
protected double outNub
protected double E
protected double gradient
protected double studyPoint
protected double sigmaW
protected ActiveFunction activeFunction
protected Nerve(int id,
int upNub,
String name,
int downNub,
double studyPoint,
boolean init,
ActiveFunction activeFunction,
boolean isDynamic,
int rzType,
double lParam,
int step,
int kernLen,
int rnnOutNub)
throws Exception
Exceptionpublic Matrix getNerveMatrix()
public void setNerveMatrix(Matrix nerveMatrix)
public double getThreshold()
public void setThreshold(double threshold)
protected void setStudyPoint(double studyPoint)
public void sendMessage(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack outBack,
boolean isEmbedding,
Matrix rnnMatrix)
throws Exception
Exceptionpublic void sendRnnMessage(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack outBack,
boolean isEmbedding,
Matrix rnnMatrix)
throws Exception
Exceptionpublic void sendMatrix(long eventId,
Matrix parameter,
boolean isStudy,
int E,
OutBack outBack)
throws Exception
Exceptionprotected void input(long eventId,
double parameter,
boolean isStudy,
Map<Integer,Double> E,
OutBack imageBack,
boolean isEmbedding,
Matrix rnnMatrix)
throws Exception
Exceptionprotected void inputMatrix(long eventId,
Matrix matrix,
boolean isKernelStudy,
int E,
OutBack outBack)
throws Exception
Exceptionprotected boolean insertParameter(long eventId,
double parameter)
protected void destoryParameter(long eventId)
protected double getWOne(long eventId)
protected double calculation(long eventId)
public int getId()
Copyright © 2024. All rights reserved.