Package | Description |
---|---|
org.apache.tika.detect |
Media type detection.
|
Modifier and Type | Method and Description |
---|---|
private void |
NNExampleModelDetector.readDescription(NNTrainedModelBuilder builder,
java.lang.String line)
read the comments where the model configuration is written, e.g the
number of inputs, hiddens and output please ensure the first char in the
given string is # In this example grb model file, there are 4 elements 1)
type 2) number of input units 3) number of hidden units.
|
private void |
NNExampleModelDetector.readNNParams(NNTrainedModelBuilder builder,
java.lang.String line)
Read the next line for the model parameters and populate the build which
later will be used to instantiate the instance of TrainedModel
|