Class FeedForwardNetworkLM.Builder
java.lang.Object
deepnetts.net.FeedForwardNetworkLM.Builder
- Enclosing class:
FeedForwardNetworkLM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFlatEmbeddingLayer(int vocabSize, int embeddingDim) addFullyConnectedLayer(int layerWidth, ActivationType activationType) addInputLayer(int layerWidth) addInputLayer(int layerWidth, int batchSize) addOutputLayer(int width, ActivationType activationType) addTokenizer(Tokenizer tokenizer) build()lossFunction(LossType lossType) randomSeed(long seed)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addInputLayer
-
addTokenizer
-
addInputLayer
-
addFlatEmbeddingLayer
-
addFullyConnectedLayer
public FeedForwardNetworkLM.Builder addFullyConnectedLayer(int layerWidth, ActivationType activationType) -
addOutputLayer
-
lossFunction
-
randomSeed
-
build
-