Class ComputationGraph<T>
java.lang.Object
org.episteme.core.mathematics.ml.neural.ComputationGraph<T>
- Type Parameters:
T- the data type.
Represents a neural network as a sequence of layers (Computational Graph).
This class orchestrates the forward and backward passes across all layers.
- Since:
- 2.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a layer to the network.Returns the list of layers.Performs inference (forward pass) on the input.voidPerforms a training step (forward + backward + optimize).
-
Constructor Details
-
ComputationGraph
public ComputationGraph()
-
-
Method Details
-
add
Adds a layer to the network.- Parameters:
layer- the layer to add.- Returns:
- this graph for chaining.
-
predict
-
trainStep
-
getLayers
-