Package adams.data.djl.networkgenerator
Interface NetworkGenerator
-
- All Superinterfaces:
adams.flow.core.FlowContextHandler
- All Known Implementing Classes:
AbstractNetworkGenerator,AbstractScript,AbstractScriptedNetworkGenerator,GroovyGenerator,TabularRegressionGenerator
public interface NetworkGenerator extends adams.flow.core.FlowContextHandlerInterface for network generator schemes.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ai.djl.nn.Blockgenerate(ai.djl.basicdataset.tabular.TabularDataset dataset)Generates the network using the supplied dataset.booleanrequiresFlowContext()Returns whether flow context is required.
-
-
-
Method Detail
-
requiresFlowContext
boolean requiresFlowContext()
Returns whether flow context is required.- Returns:
- true if required
-
generate
ai.djl.nn.Block generate(ai.djl.basicdataset.tabular.TabularDataset dataset)
Generates the network using the supplied dataset.- Parameters:
dataset- the dataset to generate the network for- Returns:
- the network
-
-