java.lang.Object
org.ojalgo.ann.NetworkInvoker
- All Implemented Interfaces:
Supplier<ArtificialNeuralNetwork>,BasicFunction,BasicFunction.PlainUnary<Access1D<Double>,MatrixStore<Double>>
public class NetworkInvoker
extends Object
implements BasicFunction.PlainUnary<Access1D<Double>,MatrixStore<Double>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.function.BasicFunction
BasicFunction.Differentiable<N extends Comparable<N>,F extends BasicFunction>, BasicFunction.Integratable<N extends Comparable<N>, F extends BasicFunction>, BasicFunction.PlainUnary<T, R> -
Method Summary
Modifier and TypeMethodDescriptionbooleanget()inthashCode()The input argument is typed asAccess1Dwhich essentially means it can be anything.When usingNetworkTrainerorNetworkInvokerwith a batch size larger than 1 this utility may help with creating the batches.
-
Method Details
-
invoke
The input argument is typed asAccess1Dwhich essentially means it can be anything. If the batch size is anything other than 1 this needs to be a 2D structure with the number of rows matching the batch size. The return type is aMatrixStorewhere the number of rows match the batch size and the number of columns match the number of output nodes. ADataBatchmay help when creating the batches or you simply create any 2D data structure and fill the rows.- Specified by:
invokein interfaceBasicFunction.PlainUnary<Access1D<Double>,MatrixStore<Double>> - See Also:
-
equals
-
get
- Specified by:
getin interfaceSupplier<ArtificialNeuralNetwork>
-
hashCode
public int hashCode() -
newInputBatch
When usingNetworkTrainerorNetworkInvokerwith a batch size larger than 1 this utility may help with creating the batches.
-