public abstract class MLPExamples extends Object
Modifier and Type | Method and Description |
---|---|
static GraphDefTuple |
buildMLPGraph(String inputName,
int numFeatures,
int[] hiddenSizes,
int numOutputs)
Builds an MLP which expects the supplied number of inputs, has hiddenSizes.length hidden layers, before
emitting numOutput outputs.
|
public static GraphDefTuple buildMLPGraph(String inputName, int numFeatures, int[] hiddenSizes, int numOutputs)
inputName
- The name of the input placeholder.numFeatures
- The number of input features.hiddenSizes
- The hidden layer sizes.numOutputs
- The number of output dimensions.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.