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 void setType(MediaType type)
public int getNumOfInputs()
public void setNumOfInputs(int numOfInputs)
public int getNumOfHidden()
public void setNumOfHidden(int numOfHidden)
public int getNumOfOutputs()
public void setNumOfOutputs(int numOfOutputs)
public float[] getParams()
public void setParams(float[] params)
public NNTrainedModel build()
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.