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()
-
setType
public void setType(MediaType type)
-
getNumOfInputs
public int getNumOfInputs()
-
setNumOfInputs
public void setNumOfInputs(int numOfInputs)
-
getNumOfHidden
public int getNumOfHidden()
-
setNumOfHidden
public void setNumOfHidden(int numOfHidden)
-
getNumOfOutputs
public int getNumOfOutputs()
-
setNumOfOutputs
public void setNumOfOutputs(int numOfOutputs)
-
getParams
public float[] getParams()
-
setParams
public void setParams(float[] params)
-
build
public NNTrainedModel build()
-
-