Package org.apache.solr.ltr.model
Class NeuralNetworkModel.DefaultLayer
java.lang.Object
org.apache.solr.ltr.model.NeuralNetworkModel.DefaultLayer
- All Implemented Interfaces:
NeuralNetworkModel.Layer
- Enclosing class:
NeuralNetworkModel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[]calculateOutput(float[] inputVec) describe()voidsetActivation(Object activationStr) voidvoidintvalidate(int inputDim)
-
Field Details
-
activationStr
-
activation
-
-
Constructor Details
-
DefaultLayer
public DefaultLayer()
-
-
Method Details
-
setMatrix
-
setBias
-
setActivation
-
calculateOutput
public float[] calculateOutput(float[] inputVec) - Specified by:
calculateOutputin interfaceNeuralNetworkModel.Layer
-
validate
- Specified by:
validatein interfaceNeuralNetworkModel.Layer- Throws:
ModelException
-
describe
- Specified by:
describein interfaceNeuralNetworkModel.Layer
-