API Reference¶
The full Fortran API documentation is generated using FORD (Fortran Automatic Documentation).
You can browse the complete API documentation here:
The API documentation includes:
Module Reference: Detailed documentation of all modules
Type Definitions: Documentation of derived types like
base_layer_typeProcedures: All public procedures and their interfaces
Source Code: Annotated source code with cross-references
Call Graphs: Visual representation of procedure dependencies
Key Components¶
The following are some of the key derived types and their main methods documented in the API:
base_layer_type: The abstract base type for all layersforward(): Method to perform forward propagation
base_actv_type: The abstract base type for all activation functionsapply(): Method to apply the activation function
base_init_type: The abstract base type for all initialisersinitialise(): Method to initialise parameters
base_optimiser_type: The base type for all optimisersminimise(): Method to update parameters based on gradients
base_loss_type: The base type for all loss functionscompute(): Method to compute the loss value
network_type: The type representing a neural networkadd(): Method to add layers to the networkcompile(): Method to compile the network for trainingset_training_mode(): Method to switch training-sensitive layers to training modeset_inference_mode(): Method to switch training-sensitive layers to inference modetrain(): Method to train the networktest(): Method to evaluate the network on test datapredict(): Method to make predictions with the networkupdate(): Method to update learnable parameters
For complete details and source code, please refer to the FORD documentation linked above.