org.encog.util.normalize.input
public class InputFieldArray2D extends BasicInputField implements HasFixedLength
Constructor and Description |
---|
InputFieldArray2D(boolean usedForNetworkInput,
double[][] array,
int index2)
Construct a 2D array input field.
|
Modifier and Type | Method and Description |
---|---|
double |
getValue(int i)
Read a value from the specified index.
|
int |
length() |
applyMinMax, getCurrentValue, getMax, getMin, getUsedForNetworkInput, setCurrentValue, setMax, setMin, setUsedForNetworkInput
public InputFieldArray2D(boolean usedForNetworkInput, double[][] array, int index2)
usedForNetworkInput
- Is this field used for neural network input?array
- The array to use.index2
- The secondary index to read the field from.public double getValue(int i)
getValue
in interface InputField
getValue
in class BasicInputField
i
- The index.public int length()
length
in interface HasFixedLength
Copyright © 2014. All Rights Reserved.