public class NNTrainedModelBuilder extends Object
Constructor and Description |
---|
NNTrainedModelBuilder() |
Modifier and Type | Method and 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) |
public MediaType getType()
public int getNumOfInputs()
public int getNumOfHidden()
public int getNumOfOutputs()
public float[] getParams()
public void setType(MediaType type)
public void setNumOfInputs(int numOfInputs)
public void setNumOfHidden(int numOfHidden)
public void setNumOfOutputs(int numOfOutputs)
public void setParams(float[] params)
public NNTrainedModel build()
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.