Package org.apache.tika.detect
Class NNTrainedModelBuilder
- java.lang.Object
-
- org.apache.tika.detect.NNTrainedModelBuilder
-
public class NNTrainedModelBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description NNTrainedModelBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NNTrainedModel
build()
int
getNumOfHidden()
int
getNumOfInputs()
int
getNumOfOutputs()
float[]
getParams()
MediaType
getType()
void
setNumOfHidden(int numOfHidden)
void
setNumOfInputs(int numOfInputs)
void
setNumOfOutputs(int numOfOutputs)
void
setParams(float[] params)
void
setType(MediaType type)
-
-
-
Method Detail
-
getType
public MediaType getType()
-
getNumOfInputs
public int getNumOfInputs()
-
getNumOfHidden
public int getNumOfHidden()
-
getNumOfOutputs
public int getNumOfOutputs()
-
getParams
public float[] getParams()
-
setType
public void setType(MediaType type)
-
setNumOfInputs
public void setNumOfInputs(int numOfInputs)
-
setNumOfHidden
public void setNumOfHidden(int numOfHidden)
-
setNumOfOutputs
public void setNumOfOutputs(int numOfOutputs)
-
setParams
public void setParams(float[] params)
-
build
public NNTrainedModel build()
-
-