Procedures

ProcedureLocationProcedure TypeDescription
accumulate_corner_gradients_2d_val athena__diffstruc_extd_submodule_pad Subroutine

Accumulate corner gradients for 2D padding - raw array version

accumulate_corner_gradients_3d_val athena__diffstruc_extd_submodule_pad Subroutine

Accumulate corner gradients for 3D padding - raw array version

accumulate_edge_gradients_1d_val athena__diffstruc_extd_submodule_pad Subroutine

Accumulate edge gradients for 1D padding - raw array version

accumulate_edge_gradients_2d_val athena__diffstruc_extd_submodule_pad Subroutine

Accumulate edge gradients for 2D padding - raw array version

accumulate_edge_gradients_3d_val athena__diffstruc_extd_submodule_pad Subroutine

Accumulate edge gradients for 3D padding - raw array version

accumulate_face_gradients_3d_val athena__diffstruc_extd_submodule_pad Subroutine

Accumulate face gradients for 3D padding - raw array version

accuracy_eval athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

activation_setup athena__activation Function

Setup the desired activation function

actv_layer_type athena__actv_layer Interface

Interface for the activation layer type

adagrad_optimiser_type athena__optimiser Interface

Interface for setting up the Adagrad optimiser

adam_optimiser_type athena__optimiser Interface

Interface for setting up the Adam optimiser

add athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

add_bias athena__diffstruc_extd Interface
add_conv3d athena__conv3d_layer Function

Add two 3D convolutional layers without whole-object allocatable copy

add_gnn_layer_from_metadata athena__onnx_read_submodule Subroutine

Create one GNN or NOP layer from metadata and append it to the network.

add_graph_input_tensor athena__onnx_msgpass_utils Subroutine

Add one graph input tensor declaration to the ONNX input list.

add_layer_type athena__add_layer Interface

Interface for setting up the add layer

add_layers athena__diffstruc_extd Interface
add_learnable athena__base_layer Interface
add_standard_layer_from_onnx athena__onnx_read_submodule Subroutine

Create standard (non-GNN) layers for a given layer_id using the registered ONNX creator framework (list_of_onnx_layer_creators).

Read more…
allocate_and_assign_vec athena__tools_infile Interface

Interface for allocating and assigning a vector to a variable

allocate_and_assignRvec athena__tools_infile Subroutine

Allocate and assign an arbitrary length vector of reals to variable

allocate_list_of_layer_types athena__container_layer Interface
allocate_list_of_onnx_activation_creators athena__activation Subroutine

Allocate and populate the list of ONNX activation creation functions

allocate_list_of_onnx_expanded_gnn_layer_creators athena__container_layer Interface
allocate_list_of_onnx_expanded_nop_layer_creators athena__container_layer Interface
allocate_list_of_onnx_layer_creators athena__container_layer Interface
allocate_list_of_onnx_meta_layer_creators athena__container_layer Interface
append_json_int_string_item athena__onnx_read_submodule Subroutine

Append one integer value stored as a quoted JSON string.

append_json_string_array_item athena__onnx_read_submodule Subroutine

Append one string element from a multiline JSON string array.

append_unique_layer_id_from_meta_key athena__onnx_read_submodule Subroutine

Append a layer id parsed from athena_gnn_node_ or athena_nop_node_ if not already present.

append_unique_onnx_expanded_prefix athena__onnx_read_submodule Subroutine

Append a /layerN prefix to a list if it is not already present.

append_unique_primary_layer_id athena__onnx_read_submodule Subroutine

Append a layer id parsed from a primary node name node_.

append_value athena__metrics Subroutine

Append a value to the history of the metric

apply_attributes_gaussian athena__activation_gaussian Subroutine

Load ONNX attributes into Gaussian activation function

apply_attributes_leaky_relu athena__activation_leaky_relu Subroutine

Load ONNX attributes into leaky ReLU activation function

apply_attributes_linear athena__activation_linear Subroutine

Load ONNX attributes into linear activation function

apply_attributes_none athena__activation_none Subroutine

Load ONNX attributes into none activation function

apply_attributes_piecewise athena__activation_piecewise Subroutine

Load ONNX attributes into piecewise activation function

apply_attributes_relu athena__activation_relu Subroutine

Load ONNX attributes into ReLU activation function

apply_attributes_selu athena__activation_selu Subroutine

Load ONNX attributes into SELU activation function

apply_attributes_sigmoid athena__activation_sigmoid Subroutine

Load ONNX attributes into sigmoid activation function

apply_attributes_softmax athena__activation_softmax Subroutine

Load ONNX attributes into softmax activation function

apply_attributes_swish athena__activation_swish Subroutine

Load ONNX attributes into swish activation function

apply_attributes_tanh athena__activation_tanh Subroutine

Load ONNX attributes into tanh activation function

apply_clip athena__clipper Subroutine

Function to apply clipping to gradients

apply_gaussian athena__activation_gaussian Function

Apply Gaussian activation to array

Read more…
apply_linear athena__activation_linear Function

Apply linear activation to 1D array

Read more…
apply_none athena__activation_none Function

Apply identity activation to 1D array

Read more…
apply_piecewise athena__activation_piecewise Function

Apply piecewise activation to 1D array

Read more…
apply_relu athena__activation_relu Function

Apply ReLU activation to 1D array

Read more…
apply_selu athena__activation_selu Function

Apply SELU activation to array

Read more…
apply_sigmoid athena__activation_sigmoid Function

Apply sigmoid activation to 1D array

Read more…
apply_softmax athena__activation_softmax Function

Apply softmax activation to 1D array

Read more…
apply_swish athena__activation_swish Function

Apply swish activation to 1D array

Read more…
apply_tanh athena__activation_tanh Function

Apply tanh activation to 1D array

Read more…
assign_val athena__tools_infile Interface

Interface for assigning a value to a variable

assign_vec athena__tools_infile Interface

Interface for assigning a vector to a variable

assignI athena__tools_infile Subroutine

Assign an integer to variable

assignIvec athena__tools_infile Subroutine

Assign an arbitrary length vector of integers to variable

assignL athena__tools_infile Subroutine

Assign a logical to variable (T/t/1 and F/f/0 accepted)

assignR athena__tools_infile Subroutine

Assign a real to variable

assignRvec athena__tools_infile Subroutine

Assign an arbitrary length vector of reals to variable

assignS athena__tools_infile Subroutine

Assign a string to variable

avgpool1d athena__diffstruc_extd Interface
avgpool1d_layer_type athena__avgpool1d_layer Interface

Interface for setting up the 1D average pooling layer

avgpool2d athena__diffstruc_extd Interface
avgpool2d_layer_type athena__avgpool2d_layer Interface

Interface for setting up the 2D average pooling layer

avgpool3d athena__diffstruc_extd Interface
avgpool3d_layer_type athena__avgpool3d_layer Interface

Interface for setting up the 3D average pooling layer

base64_decode_bytes athena__onnx_utils Subroutine

Core base64 decoder

base64_encode_bytes athena__onnx_utils Subroutine

Core base64 encoder (allocatable output)

base64_encode_bytes_fixed athena__onnx_utils Subroutine

Core base64 encoder (fixed-length output)

base_lr_decay_type athena__learning_rate_decay Interface

Interface for base learning rate decay type

base_optimiser_type athena__optimiser Interface

Interface for setting up the base optimiser

batchnorm athena__diffstruc_extd Interface
batchnorm1d_layer_type athena__batchnorm1d_layer Interface

Interface for setting up the 1D batch normalisation layer

batchnorm2d_layer_type athena__batchnorm2d_layer Interface

Interface for setting up the 2D batch normalisation layer

batchnorm3d_layer_type athena__batchnorm3d_layer Interface

Interface for setting up the 3D batch normalisation layer

batchnorm_inference athena__diffstruc_extd Interface
bce_loss_type athena__loss Interface

Interface for binary cross entropy loss function

build_attributes_json athena__onnx_utils Subroutine

Build JSON string for layer attributes

build_duvenaud_onnx_expanded_gnn athena__onnx_creators Function

Build a Duvenaud layer from an expanded-ONNX cluster.

build_dynamic_lno_onnx_expanded_nop athena__onnx_creators Function

Build one dynamic LNO layer from an expanded-ONNX node cluster.

build_fixed_lno_onnx_expanded_nop athena__onnx_creators Function

Build one fixed LNO layer from an expanded-ONNX node cluster.

build_from_onnx athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

build_from_onnx_actv athena__actv_layer Subroutine

Read ONNX attributes for activation layer

build_from_onnx_avgpool1d athena__avgpool1d_layer Subroutine

Read ONNX attributes for 1D average pooling layer

build_from_onnx_avgpool2d athena__avgpool2d_layer Subroutine

Read ONNX attributes for 2D average pooling layer

build_from_onnx_avgpool3d athena__avgpool3d_layer Subroutine

Read ONNX attributes for 3D average pooling layer

build_from_onnx_base athena__base_layer Interface
build_from_onnx_batchnorm1d athena__batchnorm1d_layer Subroutine

Read ONNX attributes for 1D batch normalisation layer

build_from_onnx_batchnorm2d athena__batchnorm2d_layer Subroutine

Read ONNX attributes for 2D batch normalisation layer

build_from_onnx_batchnorm3d athena__batchnorm3d_layer Subroutine

Read ONNX attributes for 3D batch normalisation layer

build_from_onnx_conv1d athena__conv1d_layer Subroutine

Read ONNX attributes for 1D convolutional layer

build_from_onnx_conv2d athena__conv2d_layer Subroutine

Read ONNX attributes for 2D convolutional layer

build_from_onnx_conv3d athena__conv3d_layer Subroutine

Read ONNX attributes for 3D convolutional layer

build_from_onnx_dropblock2d athena__dropblock2d_layer Subroutine

Read ONNX attributes for 2D dropblock layer

build_from_onnx_dropblock3d athena__dropblock3d_layer Subroutine

Read ONNX attributes for 3D dropblock layer

build_from_onnx_dropout athena__dropout_layer Subroutine

Read ONNX attributes for dropout layer

build_from_onnx_flatten athena__flatten_layer Subroutine

Read ONNX attributes for flattening layer

build_from_onnx_full athena__full_layer Subroutine

Read ONNX attributes for fully connected layer

build_from_onnx_input athena__input_layer Subroutine

Read ONNX attributes for fully connected layer

build_from_onnx_maxpool1d athena__maxpool1d_layer Subroutine

Read ONNX attributes for 1D max pooling layer

build_from_onnx_maxpool2d athena__maxpool2d_layer Subroutine

Read ONNX attributes for 2D max pooling layer

build_from_onnx_maxpool3d athena__maxpool3d_layer Subroutine

Read ONNX attributes for 3D max pooling layer

build_from_onnx_pad1d athena__pad1d_layer Subroutine

Read ONNX attributes for 1D padding layer

build_from_onnx_pad2d athena__pad2d_layer Subroutine

Read ONNX attributes for 2D padding layer

build_from_onnx_pad3d athena__pad3d_layer Subroutine

Read ONNX attributes for 3D padding layer

build_from_onnx_reshape athena__reshape_layer Subroutine

Build reshape layer from ONNX node and initialiser

build_gnn_metadata athena__onnx_write_submodule Subroutine

Build the metadata entry required to reconstruct a GNN layer.

build_graph_inputs athena__onnx_write_submodule Subroutine

Build the ONNX graph input tensor specifications.

build_graph_outputs athena__onnx_write_submodule Subroutine

Build the ONNX graph output tensor specifications.

build_kipf_onnx_expanded_gnn athena__onnx_creators Function

Build a Kipf GCN layer from an expanded-ONNX cluster.

build_leaf_vertices athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

build_network_from_json_gnn athena__onnx_read_submodule Subroutine

Build a network containing GNN layers from parsed JSON data.

Read more…
build_network_from_json_onnx_expanded_gnn athena__onnx_read_submodule Subroutine

Reconstruct ATHENA GNN layers from an expanded-ONNX graph when metadata is absent.

Read more…
build_network_from_json_onnx_expanded_nop athena__onnx_read_submodule Subroutine

Reconstruct ATHENA NOP layers from an expanded-ONNX decomposed graph.

Read more…
build_network_from_json_standard athena__onnx_read_submodule Subroutine

Build a standard, non-GNN network from parsed JSON data.

Read more…
build_neural_operator_onnx_expanded_nop athena__onnx_creators Function

Build one neural operator layer from an expanded-ONNX node cluster.

build_root_vertices athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

build_spectral_filter_onnx_expanded_nop athena__onnx_creators Function

Build one spectral filter layer from an expanded-ONNX node cluster.

build_vertex_order athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

calc_input_shape athena__base_layer Interface
calc_input_shape_add athena__add_layer Function

Calculate input shape based on shapes of input layers

calc_input_shape_concat athena__concat_layer Function

Calculate input shape based on shapes of input layers

categorical_score athena__accuracy Function

Compute the categorical accuracy of a model

Read more…
cce_loss_type athena__loss Interface

Interface for categorical cross entropy loss function

classify_duvenaud_onnx_expanded_gnn athena__onnx_creators Function

Return true when the expanded-ONNX node cluster for prefix is a Duvenaud message-passing layer.

Read more…
classify_dynamic_lno_onnx_expanded_nop athena__onnx_creators Function

Return true when the expanded-ONNX node cluster for prefix is a dynamic LNO.

classify_fixed_lno_onnx_expanded_nop athena__onnx_creators Function

Return true when the expanded-ONNX node cluster for prefix is a fixed LNO.

classify_kipf_onnx_expanded_gnn athena__onnx_creators Function

Return true when the expanded-ONNX node cluster for prefix is a Kipf GCN layer.

Read more…
classify_neural_operator_onnx_expanded_nop athena__onnx_creators Function

Return true when the expanded-ONNX node cluster for prefix is a neural operator.

classify_spectral_filter_onnx_expanded_nop athena__onnx_creators Function

Return true when the expanded-ONNX node cluster for prefix is a spectral filter.

clip_setup athena__clipper Function

Set up the clip dictionary

clip_type athena__clipper Interface

Interface for the clip type

col_to_row_major_2d athena__onnx_utils Subroutine

Convert flat column-major [m,n] to flat row-major [m,n] Fortran stores arrays column-major; ONNX rawData expects row-major.

collect_export_nodes athena__onnx_write_submodule Subroutine

Build the ONNX nodes, initialisers and GNN metadata.

combine_add athena__add_layer Subroutine

Forward propagation for 2D input

combine_concat athena__concat_layer Subroutine

Forward propagation for 2D input

combine_merge athena__base_layer Interface
compile athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

compute_base athena__loss Function

Placeholder for compute function in base_loss_type

compute_base athena__loss Interface
compute_bce athena__loss Function

Compute the binary cross entropy loss of a model

compute_cce athena__loss Function

Compute the categorical cross entropy loss of a model

compute_huber athena__loss Function

Compute the huber loss of a model

compute_mae athena__loss Function

Compute the mean absolute error of a model

compute_mse athena__loss Function

Compute the mean squared error of a model

compute_nll athena__loss Function

Compute the negative log likelihood of a model

concat_layer_type athena__concat_layer Interface

Interface for setting up the concatenate layer

concat_layers athena__diffstruc_extd Interface
container_reduction athena__container_layer Interface
container_reduction athena__container_layer_submodule Subroutine
conv1d athena__diffstruc_extd Interface
conv1d_layer_type athena__conv1d_layer Interface

Interface for setting up the 1D convolutional layer

conv2d athena__diffstruc_extd Interface
conv2d_layer_type athena__conv2d_layer Interface

Interface for setting up the 2D convolutional layer

conv3d athena__diffstruc_extd Interface
conv3d_layer_type athena__conv3d_layer Interface

Interface for setting up the 3D convolutional layer

create_from_onnx_activation athena__activation Interface
create_from_onnx_actv_layer athena__actv_layer Function

Build activation layer from attributes and return layer

create_from_onnx_avgpool_layer athena__onnx_creators Function

Build avgpool layer from attributes and return layer

create_from_onnx_batchnorm_layer athena__onnx_creators Function

Build batchnorm layer from attributes and return layer

create_from_onnx_conv_layer athena__onnx_creators Function

Build conv layer from attributes and return layer

create_from_onnx_dropout_layer athena__dropout_layer Function

Build dropout layer from attributes and return layer

create_from_onnx_duvenaud_layer athena__onnx_creators Function

Build Duvenaud message-passing layer from ONNX metadata and return layer

create_from_onnx_dynamic_lno_layer athena__onnx_creators Function

Build dynamic LNO layer from ONNX metadata and return layer

create_from_onnx_fixed_lno_layer athena__onnx_creators Function

Build fixed LNO layer from ONNX metadata and return layer

create_from_onnx_flatten_layer athena__flatten_layer Function

Build flattening layer from attributes and return layer

create_from_onnx_full_layer athena__full_layer Function

Build fully connected layer from attributes and return layer

create_from_onnx_gaussian_activation athena__activation_gaussian Function

Create Gaussian activation function from ONNX attributes

create_from_onnx_input_layer athena__input_layer Function

Build fully connected layer from attributes and return layer

create_from_onnx_kipf_layer athena__onnx_creators Function

Build Kipf GCN layer from ONNX metadata and return layer

create_from_onnx_layer athena__container_layer Interface
create_from_onnx_leaky_relu_activation athena__activation_leaky_relu Function

Create leaky ReLU activation function from ONNX attributes

create_from_onnx_linear_activation athena__activation_linear Function

Create linear activation function from ONNX attributes

create_from_onnx_maxpool_layer athena__onnx_creators Function

Build maxpool layer from attributes and return layer

create_from_onnx_neural_operator_layer athena__onnx_creators Function

Build neural_operator layer from ONNX metadata and return layer

create_from_onnx_none_activation athena__activation_none Function

Create none activation function from ONNX attributes

create_from_onnx_orthogonal_attention_layer athena__onnx_creators Function

Build orthogonal attention layer from ONNX metadata and return layer

create_from_onnx_orthogonal_nop_layer athena__onnx_creators Function

Build orthogonal NOP block from ONNX metadata and return layer

create_from_onnx_pad_layer athena__onnx_creators Function

Build pad layer from attributes and return layer

create_from_onnx_piecewise_activation athena__activation_piecewise Function

Create piecewise activation function from ONNX attributes

create_from_onnx_relu_activation athena__activation_relu Function

Create ReLU activation function from ONNX attributes

create_from_onnx_reshape_layer athena__reshape_layer Function

Build reshape layer from ONNX node and initialiser

create_from_onnx_selu_activation athena__activation_selu Function

Create SELU activation function from ONNX attributes

create_from_onnx_sigmoid_activation athena__activation_sigmoid Function

Create sigmoid activation function from ONNX attributes

create_from_onnx_softmax_activation athena__activation_softmax Function

Create softmax activation function from ONNX attributes

create_from_onnx_swish_activation athena__activation_swish Function

Create swish activation function from ONNX attributes

create_from_onnx_tanh_activation athena__activation_tanh Function

Create tanh activation function from ONNX attributes

data_init_type athena__initialiser_data Interface
data_initialise athena__initialiser_data Subroutine

Initialise the weights and biases using the data distribution

decode_base64_to_float32 athena__onnx_utils Subroutine

Decode base64 string to float32 array

decode_base64_to_int64 athena__onnx_utils Subroutine

Decode base64 string to integer array (from 8-byte int64 encoding)

detect_gnn_expanded_activation athena__onnx_creators Function

Detect the activation op used in a GNN layer cluster.

detect_json_section athena__onnx_read_submodule Subroutine

Detect the active top-level graph section.

detect_onnx_expanded_nop_activation athena__onnx_nop_utils Function

Reconstruct the activation name from the tail of an expanded-ONNX NOP cluster.

dfs athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

dropblock2d_layer_type athena__dropblock2d_layer Interface

Interface for setting up the 2D dropblock layer

dropblock3d_layer_type athena__dropblock3d_layer Interface

Interface for setting up the 3D dropblock layer

dropout_layer_type athena__dropout_layer Interface

Interface for setting up the dropout layer

duvenaud_msgpass_layer_type athena__duvenaud_msgpass_layer Interface

Interface for setting up the MPNN layer

duvenaud_propagate athena__diffstruc_extd Interface
duvenaud_update athena__diffstruc_extd Interface
dynamic_lno_layer_type athena__dynamic_lno_layer Interface
elem_scale athena__diffstruc_extd Interface
emit_activation_node athena__onnx_utils Subroutine

Emit an activation function node

emit_constant_float athena__onnx_utils Subroutine

Emit a Constant node producing a float32 tensor

emit_constant_int64 athena__onnx_utils Subroutine

Emit a Constant node producing an int64 tensor

emit_constant_of_shape_float athena__onnx_utils Subroutine

Emit a ConstantOfShape node

emit_duvenaud_degree_update athena__duvenaud_msgpass_layer Subroutine

Emit the degree-dependent weight selection and update block.

emit_duvenaud_readout_impl athena__duvenaud_msgpass_layer Subroutine

Emit ONNX nodes for Duvenaud readout

emit_duvenaud_readout_step athena__duvenaud_msgpass_layer Subroutine

Emit one Duvenaud readout timestep.

Read more…
emit_duvenaud_timestep athena__duvenaud_msgpass_layer Subroutine

Emit ONNX nodes for one Duvenaud message passing time step.

emit_edge_index_component athena__onnx_msgpass_utils Subroutine

Gather one edge_index row and squeeze it into a vector.

emit_float_initialiser athena__onnx_nop_utils Subroutine

Emit a float32 initialiser with explicit dimensions.

emit_gnn_input_renames athena__onnx_write_submodule Subroutine

Emit Identity nodes that rename GNN inputs to the expected convention.

emit_initialisers athena__onnx_utils Subroutine

Emit initialisers for a learnable layer

emit_kipf_timestep athena__kipf_msgpass_layer Subroutine

Emit ONNX nodes for one Kipf GCN time step.

emit_matrix_initialiser athena__onnx_nop_utils Subroutine

Emit a 2D float32 initialiser after converting to row-major order.

emit_msgpass_graph_inputs athena__onnx_msgpass_utils Subroutine

Emit the standard graph input tensors used by message-passing layers.

Read more…
emit_node athena__onnx_utils Subroutine

Emit a simple ONNX node (individual string interface) Avoids gfortran array constructor issues

emit_nop_input_transpose athena__onnx_nop_utils Subroutine

Emit the common NOP input transpose.

emit_nop_metadata athena__onnx_nop_utils Subroutine

Build the metadata entry required to reconstruct a NOP layer.

emit_nop_output_tail athena__onnx_nop_utils Subroutine

Emit the common transpose and optional activation at the end of a NOP.

emit_onnx_graph_inputs_base athena__base_layer Interface
emit_onnx_graph_inputs_duvenaud athena__duvenaud_msgpass_layer Subroutine

Emit graph input tensor declarations for Duvenaud GNN layer

Read more…
emit_onnx_nodes_base athena__base_layer Interface
emit_onnx_nodes_duvenaud athena__duvenaud_msgpass_layer Subroutine

Emit ONNX JSON nodes for Duvenaud GNN layer

Read more…
emit_onnx_nodes_dynamic_lno athena__dynamic_lno_layer Subroutine

Emit decomposed standard ONNX nodes for a Dynamic LNO layer.

Read more…
emit_onnx_nodes_fixed_lno athena__fixed_lno_layer Subroutine

Emit decomposed standard ONNX nodes for a Fixed LNO layer.

Read more…
emit_onnx_nodes_kipf athena__kipf_msgpass_layer Subroutine

Emit ONNX JSON nodes for Kipf GCN layer

Read more…
emit_onnx_nodes_neural_operator athena__neural_operator_layer Subroutine

Emit decomposed standard ONNX nodes for a Neural Operator layer.

Read more…
emit_onnx_nodes_spectral_filter athena__spectral_filter_layer Subroutine

Emit decomposed standard ONNX nodes for a Spectral Filter layer.

Read more…
emit_output_identity athena__onnx_msgpass_utils Subroutine

Emit a final Identity node using the standard ATHENA output naming.

emit_scatter_aggregator athena__onnx_msgpass_utils Subroutine

Emit the zero-initialise, expand, and scatter-add aggregation block.

emit_squeeze_node athena__onnx_utils Subroutine

Emit a Squeeze node (ONNX opset 13+: axes as input)

emit_standard_node_json athena__onnx_write_submodule Subroutine

Emit ONNX node records for a standard, non-GNN layer.

emit_weight_initialiser_2d athena__onnx_msgpass_utils Subroutine

Store a 2D weight matrix as an ONNX initialiser in row-major order.

emit_weight_initialiser_3d athena__onnx_msgpass_utils Subroutine

Store a stacked bank of 2D weight matrices as one ONNX tensor.

encode_float32_base64 athena__onnx_utils Subroutine

Encode float32 array as base64 string (fixed-length output)

encode_float32_base64_alloc athena__onnx_utils Subroutine

Encode float32 array as base64 string (allocatable output)

encode_int64_base64 athena__onnx_utils Subroutine

Encode integer array as base64 int64 string (fixed-length output)

encode_int64_base64_alloc athena__onnx_utils Subroutine

Encode integer array as base64 int64 string (allocatable output)

encode_string_base64 athena__onnx_utils Subroutine

Encode a string as base64

exp_lr_decay_type athena__learning_rate_decay Interface

Interface for exponential learning rate decay type

export_attributes_gaussian athena__activation_gaussian Function

Export Gaussian activation function attributes as ONNX attributes

export_attributes_leaky_relu athena__activation_leaky_relu Function

Export leaky ReLU activation function attributes as ONNX attributes

export_attributes_linear athena__activation_linear Function

Export linear activation function attributes as ONNX attributes

export_attributes_none athena__activation_none Function

Export none activation function attributes as ONNX attributes

export_attributes_piecewise athena__activation_piecewise Function

Export piecewise activation function attributes as ONNX attributes

export_attributes_relu athena__activation_relu Function

Export ReLU activation function attributes as ONNX attributes

export_attributes_selu athena__activation_selu Function

Export SELU activation function attributes as ONNX attributes

export_attributes_sigmoid athena__activation_sigmoid Function

Export sigmoid activation function attributes as ONNX attributes

export_attributes_softmax athena__activation_softmax Function

Export softmax activation function attributes as ONNX attributes

export_attributes_swish athena__activation_swish Function

Export swish activation function attributes as ONNX attributes

export_attributes_tanh athena__activation_tanh Function

Export tanh activation function attributes as ONNX attributes

extract_gnn_subtype athena__onnx_read_submodule Subroutine

Extract the subtype=... token from one metadata value string.

extract_json_int athena__onnx_read_submodule Subroutine

Extract an integer value from a JSON key-value pair.

extract_json_string athena__onnx_read_submodule Subroutine

Extract a string value from a JSON key-value pair.

extract_nop_prefix athena__onnx_nop_utils Function

Extract the node prefix from an athena_nop_node_X metadata key.

extract_onnx_expanded_layer_prefix athena__onnx_read_submodule Function

Extract the layerN prefix from an expanded-ONNX node name.

extract_output_base athena__base_layer Interface
extract_output_real athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

fill_corner_region_2d athena__diffstruc_extd_submodule_pad Subroutine

Fill corner region for 2D padding

fill_corner_region_3d athena__diffstruc_extd_submodule_pad Subroutine

Fill corner region for 3D padding

fill_edge_region_1d athena__diffstruc_extd_submodule_pad Subroutine

Fill edge region for 1D padding

fill_edge_region_2d athena__diffstruc_extd_submodule_pad Subroutine

Fill edge region for 2D padding

fill_edge_region_3d athena__diffstruc_extd_submodule_pad Subroutine

Fill edge region for 3D padding

fill_face_region_3d athena__diffstruc_extd_submodule_pad Subroutine

Fill face region for 3D padding

finalise_batchnorm1d athena__batchnorm1d_layer Subroutine

Finalise 1D batch normalisation layer

finalise_batchnorm2d athena__batchnorm2d_layer Subroutine

Finalise 2D batch normalisation layer

finalise_batchnorm3d athena__batchnorm3d_layer Subroutine

Finalise 3D batch normalisation layer

finalise_container_layer athena__container_layer Interface
finalise_conv1d athena__conv1d_layer Subroutine

Finalise 1D convolutional layer

finalise_conv2d athena__conv2d_layer Subroutine

finalise layer ! finalise layer Finalise 2D convolutional layer

finalise_conv3d athena__conv3d_layer Subroutine

Finalise 3D convolutional layer

finalise_duvenaud athena__duvenaud_msgpass_layer Subroutine

Finalise the message passing layer

finalise_dynamic_lno athena__dynamic_lno_layer Subroutine

Finalise the dynamic Laplace neural operator layer

finalise_fixed_lno athena__fixed_lno_layer Subroutine

Finalise the fixed-basis Laplace neural operator layer

finalise_full athena__full_layer Subroutine

Finalise fully connected layer

finalise_neural_operator athena__neural_operator_layer Subroutine

Finalise neural operator layer

finalise_ono athena__orthogonal_nop_block Subroutine

Finalise the orthogonal neural operator block

finalise_ono_attn athena__orthogonal_attention_layer Subroutine

Finalise the orthogonal attention layer

finalise_spectral_filter athena__spectral_filter_layer Subroutine

Finalise the spectral filter layer

find_activation_node_for_layer_id athena__onnx_read_submodule Function

Return node index for activation attached to node_, or 0.

find_gnn_node athena__onnx_creators Function

Return the index of a node with exact name match, or zero.

find_initialiser_by_name athena__onnx_nop_utils Function

Return the index of a named initialiser, or zero when not found.

find_metadata_for_layer_id athena__onnx_read_submodule Function

Return metadata index for a given layer id, or 0 if absent.

find_node_initialiser_index athena__onnx_nop_utils Function

Return the first initialiser referenced by a node's inputs.

find_onnx_expanded_node_by_suffix athena__onnx_nop_utils Function

Return the node index matching one /layerN/suffix name, or zero.

find_primary_node_for_layer_id athena__onnx_read_submodule Function

Return node index for primary node_, or 0 if not found.

fixed_lno_layer_type athena__fixed_lno_layer Interface
flatten_layer_type athena__flatten_layer Interface

Interface for setting up the flattening layer

format_training_real athena__network_submodule Function

Format a training metric with a configurable number of decimal places.

forward_actv athena__actv_layer Subroutine

Forward propagation

forward_avgpool1d athena__avgpool1d_layer Subroutine

Forward propagation

forward_avgpool2d athena__avgpool2d_layer Subroutine

Forward propagation

forward_avgpool3d athena__avgpool3d_layer Subroutine

Forward propagation

forward_base athena__base_layer Interface
forward_batchnorm1d athena__batchnorm1d_layer Subroutine

Forward propagation

forward_batchnorm2d athena__batchnorm2d_layer Subroutine

Forward propagation

forward_batchnorm3d athena__batchnorm3d_layer Subroutine

Forward propagation

forward_conv1d athena__conv1d_layer Subroutine

Forward propagation

forward_conv2d athena__conv2d_layer Subroutine

Forward propagation

forward_conv3d athena__conv3d_layer Subroutine

Forward propagation

forward_dropblock2d athena__dropblock2d_layer Subroutine

Forward propagation

forward_dropblock3d athena__dropblock3d_layer Subroutine

Forward propagation

forward_dropout athena__dropout_layer Subroutine

Forward propagation

forward_dynamic_lno athena__dynamic_lno_layer Subroutine

Forward propagation for the Laplace Neural Operator layer

Read more…
forward_eval athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

forward_eval_base athena__base_layer Interface
forward_eval_multi athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

forward_fixed_lno athena__fixed_lno_layer Subroutine

Forward propagation for the Laplace Neural Operator layer

Read more…
forward_flatten athena__flatten_layer Subroutine

Forward propagation

forward_full athena__full_layer Subroutine

Forward propagation

forward_generic2d athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

forward_input athena__input_layer Subroutine

Forward propagation for an input layer

forward_maxpool1d athena__maxpool1d_layer Subroutine

Forward propagation

forward_maxpool2d athena__maxpool2d_layer Subroutine

Forward propagation

forward_maxpool3d athena__maxpool3d_layer Subroutine

Forward propagation

forward_msgpass athena__msgpass_layer Interface
forward_neural_operator athena__neural_operator_layer Subroutine

Forward propagation for the neural operator layer

Read more…
forward_ono athena__orthogonal_nop_block Subroutine

Forward propagation for the Orthogonal Neural Operator layer

Read more…
forward_ono_attn athena__orthogonal_attention_layer Subroutine

Forward propagation for the Orthogonal Attention layer

Read more…
forward_pad1d athena__pad1d_layer Subroutine

Forward propagation

forward_pad2d athena__pad2d_layer Subroutine

Forward propagation

forward_pad3d athena__pad3d_layer Subroutine

Forward propagation

forward_recurrent athena__recurrent_layer Subroutine

Forward propagation

forward_reshape athena__reshape_layer Subroutine

Forward propagation derived type handler

forward_spectral_filter athena__spectral_filter_layer Subroutine

Forward propagation for the spectral filter layer

Read more…
full_layer_type athena__full_layer Interface

Interface for setting up the fully connected layer

gaussian_actv_type athena__activation_gaussian Interface
gaussian_init_type athena__initialiser_gaussian Interface
gaussian_initialise athena__initialiser_gaussian Subroutine

Initialise the weights and biases using the Gaussian distribution

generate_bernoulli_mask athena__dropblock2d_layer Subroutine

Generate Bernoulli mask

generate_bernoulli_mask athena__dropblock3d_layer Subroutine

Generate Bernoulli mask Apply threshold to create binary mask

generate_dropout_mask athena__dropout_layer Subroutine

Generate dropout mask

get_attributes_base athena__base_layer Interface
get_attributes_batch athena__base_layer Interface
get_attributes_conv athena__base_layer Interface
get_attributes_duvenaud athena__duvenaud_msgpass_layer Function

Get the attributes of the Duvenaud message passing layer (for ONNX export)

Read more…
get_attributes_dynamic_lno athena__dynamic_lno_layer Function

Return list of dynamic LNO attributes for ONNX export

get_attributes_fixed_lno athena__fixed_lno_layer Function

Return list of fixed LNO attributes for ONNX export

get_attributes_kipf athena__kipf_msgpass_layer Function

Get the attributes of the Kipf GCN layer (for ONNX export)

get_attributes_neural_operator athena__neural_operator_layer Function

Return list of neural operator attributes for ONNX export

get_attributes_ono athena__orthogonal_nop_block Function

Return list of ONO attributes for ONNX export

get_attributes_ono_attn athena__orthogonal_attention_layer Function

Return list of orthogonal attention attributes for ONNX export

get_attributes_pool athena__base_layer Interface
get_bases_dynamic_lno athena__dynamic_lno_layer Function

Rebuild the dynamic Laplace encoder/decoder bases from the current learnable pole values (params(1)).

Read more…
get_bases_ono athena__orthogonal_nop_block Function

Orthogonalise the basis matrix B using modified Gram-Schmidt

get_bases_ono_attn athena__orthogonal_attention_layer Function

Orthogonalise the basis matrix B using modified Gram-Schmidt

get_default_initialiser athena__initialiser Function

Get the default initialiser based on the activation function

get_gradients athena__base_layer Interface
get_gradients athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

get_num_params athena__base_layer Interface
get_num_params athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

get_num_params_base athena__base_layer Interface
get_num_params_batch athena__base_layer Interface
get_num_params_conv athena__base_layer Interface
get_num_params_duvenaud athena__duvenaud_msgpass_layer Function

Get the number of parameters for the message passing layer

Read more…
get_num_params_dynamic_lno athena__dynamic_lno_layer Function

Return the number of learnable parameters for the layer

get_num_params_fixed_lno athena__fixed_lno_layer Function

Return the number of learnable parameters for the layer

get_num_params_full athena__full_layer Function

Get the number of parameters for fully connected layer

Read more…
get_num_params_gno athena__graph_nop_layer Function

Get the number of learnable parameters

Read more…
get_num_params_kipf athena__kipf_msgpass_layer Function

Get the number of parameters for the message passing layer

Read more…
get_num_params_msgpass athena__msgpass_layer Interface

Interfaces for handling learnable parameters and gradients

get_num_params_neural_operator athena__neural_operator_layer Function

Get the number of parameters for the neural operator layer

Read more…
get_num_params_ono athena__orthogonal_nop_block Function

Return the number of learnable parameters for the block

get_num_params_ono_attn athena__orthogonal_attention_layer Function

Return the number of learnable parameters for the layer

get_num_params_recurrent athena__recurrent_layer Function
get_num_params_spectral_filter athena__spectral_filter_layer Function

Return the number of learnable parameters for the layer

get_orthogonality_metric athena__orthogonal_nop_block Function

Compute max(|Phi^T @ Phi - I|) as a measure of basis orthogonality

get_output athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

get_output_shape athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

get_padding_half athena__misc_ml Function

Function to return half the padding width

get_params athena__base_layer Interface
get_params athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

get_partial_add athena__diffstruc_extd_submodule Function

Get partial derivative with respect to left operand

get_partial_add_bias athena__diffstruc_extd_submodule Function

Get partial derivative with respect to bias operand

get_partial_add_bias_val athena__diffstruc_extd_submodule Subroutine
get_partial_add_val athena__diffstruc_extd_submodule Subroutine

Get partial derivative with respect to left operand

get_partial_avgpool1d athena__diffstruc_extd_submodule_pool Function

Get the partial derivative for average pooling

get_partial_avgpool1d_val athena__diffstruc_extd_submodule_pool Subroutine

Optimised backward pass for 1D average pooling

get_partial_avgpool2d athena__diffstruc_extd_submodule_pool Function

Get the partial derivative for average pooling

get_partial_avgpool2d_val athena__diffstruc_extd_submodule_pool Subroutine

Optimised backward pass for 2D average pooling

get_partial_avgpool3d athena__diffstruc_extd_submodule_pool Function

Get the partial derivative for 3D average pooling

get_partial_avgpool3d_val athena__diffstruc_extd_submodule_pool Subroutine

Optimised backward pass for 3D average pooling

get_partial_batchnorm_left athena__diffstruc_extd_submodule_batchnorm Function
get_partial_batchnorm_left_val athena__diffstruc_extd_submodule_batchnorm Subroutine

Get partial derivative wrt input for batchnorm (subroutine version)

get_partial_batchnorm_right athena__diffstruc_extd_submodule_batchnorm Function
get_partial_batchnorm_right_val athena__diffstruc_extd_submodule_batchnorm Subroutine

Get partial derivative wrt params for batchnorm (subroutine version)

get_partial_conv1d_input athena__diffstruc_extd_submodule_conv Function

Get partial derivative wrt input for 1D convolution

get_partial_conv1d_input_val athena__diffstruc_extd_submodule_conv Subroutine

Get partial derivative wrt input for 1D convolution (subroutine version)

get_partial_conv1d_kernel athena__diffstruc_extd_submodule_conv Function

Get partial derivative wrt kernel for 1D convolution

get_partial_conv1d_kernel_val athena__diffstruc_extd_submodule_conv Subroutine

Get partial derivative wrt kernel for 1D convolution (subroutine version)

get_partial_conv2d_input athena__diffstruc_extd_submodule_conv Function

Get partial derivative wrt input for 2D convolution

get_partial_conv2d_input_val athena__diffstruc_extd_submodule_conv Subroutine

Get partial derivative wrt input for 2D convolution (subroutine version)

get_partial_conv2d_kernel athena__diffstruc_extd_submodule_conv Function

Get partial derivative wrt kernel for 2D convolution

get_partial_conv2d_kernel_val athena__diffstruc_extd_submodule_conv Subroutine

Get partial derivative wrt kernel for 2D convolution (subroutine version)

get_partial_conv3d_input athena__diffstruc_extd_submodule_conv Function

Get partial derivative wrt input for 3D convolution

get_partial_conv3d_input_val athena__diffstruc_extd_submodule_conv Subroutine

Get partial derivative wrt input for 3D convolution (subroutine version)

get_partial_conv3d_kernel athena__diffstruc_extd_submodule_conv Function

Get partial derivative wrt kernel for 3D convolution

get_partial_conv3d_kernel_val athena__diffstruc_extd_submodule_conv Subroutine

Get partial derivative wrt kernel for 3D convolution (subroutine version)

get_partial_duvenaud_propagate_left athena__diffstruc_extd_submodule_msgpass_duvenaud Function

Gradient of duvenaud_propagate with respect to vertex_features.

get_partial_duvenaud_propagate_left_val athena__diffstruc_extd_submodule_msgpass_duvenaud Subroutine

In-place value gradient for duvenaud_propagate left operand.

get_partial_duvenaud_propagate_right athena__diffstruc_extd_submodule_msgpass_duvenaud Function

Gradient of duvenaud_propagate with respect to edge_features.

get_partial_duvenaud_propagate_right_val athena__diffstruc_extd_submodule_msgpass_duvenaud Subroutine

In-place value gradient for duvenaud_propagate right operand.

get_partial_duvenaud_update athena__diffstruc_extd_submodule_msgpass_duvenaud Function

Gradient of duvenaud_update with respect to input features.

get_partial_duvenaud_update_val athena__diffstruc_extd_submodule_msgpass_duvenaud Subroutine

In-place value gradient for duvenaud_update input features.

get_partial_duvenaud_update_weight athena__diffstruc_extd_submodule_msgpass_duvenaud Function

Gradient of duvenaud_update with respect to packed weights.

get_partial_duvenaud_update_weight_val athena__diffstruc_extd_submodule_msgpass_duvenaud Subroutine

In-place value gradient for duvenaud_update packed weights.

get_partial_elem_scale_input_val athena__diffstruc_extd_submodule_nop Subroutine

d(out)/d(input): upstream * scale (broadcast scale along samples)

get_partial_elem_scale_scale_val athena__diffstruc_extd_submodule_nop Subroutine

d(out)/d(scale): upstream * input (element-wise, per sample)

get_partial_gno_agg_features athena__diffstruc_extd_submodule_nop Function

Gradient of gno_aggregate w.r.t. features (left operand)

Read more…
get_partial_gno_agg_features_val athena__diffstruc_extd_submodule_nop Subroutine

In-place gradient w.r.t. features

get_partial_gno_agg_kernels athena__diffstruc_extd_submodule_nop Function

Gradient of gno_aggregate w.r.t. edge_kernels (right operand)

Read more…
get_partial_gno_agg_kernels_val athena__diffstruc_extd_submodule_nop Subroutine

In-place gradient w.r.t. edge_kernels

Read more…
get_partial_gno_kernel_coords athena__diffstruc_extd_submodule_nop Function

Gradient of gno_kernel_eval w.r.t. edge features (left operand)

Read more…
get_partial_gno_kernel_coords_val athena__diffstruc_extd_submodule_nop Subroutine

In-place gradient w.r.t. edge features

Read more…
get_partial_gno_kernel_params athena__diffstruc_extd_submodule_nop Function

Gradient of gno_kernel_eval w.r.t. kernel_params (right operand)

get_partial_gno_kernel_params_val athena__diffstruc_extd_submodule_nop Subroutine

In-place gradient w.r.t. packed kernel params

Read more…
get_partial_huber athena__diffstruc_extd_loss_submodule Function

Get partial derivative of huber loss

get_partial_huber_val athena__diffstruc_extd_loss_submodule Subroutine

Get partial derivative of huber loss (in-place version)

get_partial_kipf_propagate_left athena__diffstruc_extd_submodule_msgpass_kipf Function

Gradient of kipf_propagate with respect to vertex features.

get_partial_kipf_propagate_left_val athena__diffstruc_extd_submodule_msgpass_kipf Subroutine

In-place value gradient for kipf_propagate left operand.

get_partial_left_reverse_kipf_propagate athena__diffstruc_extd_submodule_msgpass_kipf Function
get_partial_left_reverse_kipf_propagate_val athena__diffstruc_extd_submodule_msgpass_kipf Subroutine
get_partial_lno_decode_poles athena__diffstruc_extd_submodule_nop Function

Gradient of lno_decode with respect to poles.

get_partial_lno_decode_poles_val athena__diffstruc_extd_submodule_nop Subroutine

dL/dmu_m per sample: output[m,s] = sum_i upstream[i,s](-tau_i)exp(-mu_mtau_i)x[m,s]

get_partial_lno_decode_spectral athena__diffstruc_extd_submodule_nop Function

Gradient of lno_decode with respect to spectral input.

get_partial_lno_decode_spectral_val athena__diffstruc_extd_submodule_nop Subroutine

dL/dx = D^T @ upstream [M, batch]

get_partial_lno_encode_input athena__diffstruc_extd_submodule_nop Function

Gradient of lno_encode with respect to input.

get_partial_lno_encode_input_val athena__diffstruc_extd_submodule_nop Subroutine

dL/du = E^T @ upstream [n_in, batch]

get_partial_lno_encode_poles athena__diffstruc_extd_submodule_nop Function

Gradient of lno_encode with respect to poles.

get_partial_lno_encode_poles_val athena__diffstruc_extd_submodule_nop Subroutine

dL/dmu_m per sample: output[m,s] = upstream[m,s] * sum_j (-t_j) * exp(-mu_m*t_j) * u[j,s]

get_partial_maxpool1d athena__diffstruc_extd_submodule_pool Function

Get the partial derivative for max pooling

get_partial_maxpool1d_val athena__diffstruc_extd_submodule_pool Subroutine

Optimised backward pass for 1D max pooling

get_partial_maxpool2d athena__diffstruc_extd_submodule_pool Function

Get the partial derivative for max pooling

get_partial_maxpool2d_val athena__diffstruc_extd_submodule_pool Subroutine
get_partial_maxpool3d athena__diffstruc_extd_submodule_pool Function

Get the partial derivative for 3D max pooling

get_partial_maxpool3d_val athena__diffstruc_extd_submodule_pool Subroutine

Optimised backward pass for 3D max pooling

get_partial_merge_scalar_over_channels athena__diffstruc_extd_submodule_merge Function
get_partial_merge_scalar_over_channels_val athena__diffstruc_extd_submodule_merge Subroutine
get_partial_ono_decode_basis athena__diffstruc_extd_submodule_nop Function

Gradient of ono_decode with respect to basis weights.

get_partial_ono_decode_basis_val athena__diffstruc_extd_submodule_nop Subroutine

dL/dB per sample through Gram-Schmidt backward.

Read more…
get_partial_ono_decode_mixed athena__diffstruc_extd_submodule_nop Function

Gradient of ono_decode with respect to mixed input.

get_partial_ono_decode_mixed_val athena__diffstruc_extd_submodule_nop Subroutine

dL/dx = Q^T @ upstream [k, batch]

get_partial_ono_encode_basis athena__diffstruc_extd_submodule_nop Function

Gradient of ono_encode with respect to basis weights.

get_partial_ono_encode_basis_val athena__diffstruc_extd_submodule_nop Subroutine

dL/dB per sample through Gram-Schmidt backward.

Read more…
get_partial_ono_encode_input athena__diffstruc_extd_submodule_nop Function

Gradient of ono_encode with respect to input.

get_partial_ono_encode_input_val athena__diffstruc_extd_submodule_nop Subroutine

dL/du = Q @ upstream [n, batch]

get_partial_pad1d athena__diffstruc_extd_submodule_pad Function

Get the partial derivative for the pad1d operation

get_partial_pad1d_val athena__diffstruc_extd_submodule_pad Subroutine

Get the partial derivative for the pad1d operation - raw array version

get_partial_pad2d athena__diffstruc_extd_submodule_pad Function

Get the partial derivative for the pad2d operation

get_partial_pad2d_val athena__diffstruc_extd_submodule_pad Subroutine

Get the partial derivative for the pad2d operation - raw array version

get_partial_pad3d athena__diffstruc_extd_submodule_pad Function

Get the partial derivative for the pad3d operation

get_partial_pad3d_val athena__diffstruc_extd_submodule_pad Subroutine

Get the partial derivative for the pad3d operation - raw array version

get_partial_piecewise athena__diffstruc_extd_submodule Function

Get partial derivative of piecewise activation

get_partial_piecewise_val athena__diffstruc_extd_submodule Subroutine

Get partial derivative of piecewise activation (in-place version)

get_partial_softmax athena__diffstruc_extd_submodule Function

Get partial derivative of softmax activation

get_partial_softmax_reverse_left athena__diffstruc_extd_submodule Function

Get partial derivative of softmax reverse operation

get_partial_softmax_reverse_left_val athena__diffstruc_extd_submodule Subroutine

Get partial derivative of softmax reverse operation (in-place version)

get_partial_softmax_reverse_right athena__diffstruc_extd_submodule Function

Get partial derivative of softmax reverse operation

get_partial_softmax_reverse_right_val athena__diffstruc_extd_submodule Subroutine

Get partial derivative of softmax reverse operation (in-place version)

get_partial_softmax_val athena__diffstruc_extd_submodule Subroutine

Get partial derivative of softmax activation (in-place version)

get_partial_softmax_val_sum athena__diffstruc_extd_submodule Subroutine

Get partial derivative of softmax activation (in-place version, summed over samples)

get_partial_swish athena__diffstruc_extd_submodule Function

Get partial derivative of swish activation

get_partial_swish_val athena__diffstruc_extd_submodule Subroutine

Get partial derivative of swish activation (in-place version)

get_sample athena__network Interface
get_timestep_output_name athena__onnx_msgpass_utils Subroutine

Build the canonical ONNX output name for one exported timestep.

get_val athena__tools_infile Function

Extract the section of buffer that occurs after the field separator fs

getline athena__tools_infile Subroutine

Get the line from a grep and assign it to buffer

glorot_normal_init_type athena__initialiser_glorot Interface
glorot_normal_initialise athena__initialiser_glorot Subroutine

Initialise the weights and biases using the Glorot normal distribution

glorot_uniform_init_type athena__initialiser_glorot Interface
glorot_uniform_initialise athena__initialiser_glorot Subroutine

Initialise the weights and biases using the Glorot uniform distribution

gno_aggregate athena__diffstruc_extd Interface
gno_kernel_eval athena__diffstruc_extd Interface
graph_nop_layer_type athena__graph_nop_layer Interface
he_normal_init_type athena__initialiser_he Interface
he_normal_initialise athena__initialiser_he Subroutine

Initialise the weights and biases using the He normal distribution

he_uniform_init_type athena__initialiser_he Interface
he_uniform_initialise athena__initialiser_he Subroutine

Initialise the weights and biases using the He uniform distribution

huber athena__diffstruc_extd Interface
huber_loss_type athena__loss Interface

Interface for huber loss function

ident_init_type athena__initialiser_ident Interface
ident_initialise athena__initialiser_ident Subroutine

Initialise the weights and biases using the identity matrix

infer_dynamic_lno_poles athena__onnx_nop_utils Subroutine

Reconstruct dynamic LNO poles from exported encoder/decoder arguments.

init_actv athena__actv_layer Subroutine

Initialise activation layer

init_add athena__add_layer Subroutine

Initialise add layer

init_base athena__optimiser Subroutine

Initialise base optimiser

init_batch athena__base_layer Interface
init_concat athena__concat_layer Subroutine

Initialise concatenate layer

init_conv athena__base_layer Interface
init_dropblock2d athena__dropblock2d_layer Subroutine

Initialise 2D dropblock layer

init_dropblock3d athena__dropblock3d_layer Subroutine

Initialise 3D dropblock layer

init_dropout athena__dropout_layer Subroutine

Initialise dropout layer

init_duvenaud athena__duvenaud_msgpass_layer Subroutine

Initialise the message passing layer

init_dynamic_lno athena__dynamic_lno_layer Subroutine

Initialise parameter storage and output buffers for the layer

init_fixed_lno athena__fixed_lno_layer Subroutine

Initialise parameter storage, fixed bases and output buffers

init_flatten athena__flatten_layer Subroutine

Initialise flattening layer

init_full athena__full_layer Subroutine

Initialise fully connected layer

init_gno athena__graph_nop_layer Subroutine

Initialise the Graph Neural Operator layer

Read more…
init_gradients_adagrad athena__optimiser Subroutine

Initialise gradients for Adagrad optimiser

init_gradients_adam athena__optimiser Subroutine

Initialise gradients for Adam optimiser

init_gradients_base athena__optimiser Subroutine

Initialise gradients for base optimiser

init_gradients_rmsprop athena__optimiser Subroutine

Initialise gradients for RMSprop optimiser

init_gradients_sgd athena__optimiser Subroutine

Initialise gradients for SGD optimiser

init_input athena__input_layer Subroutine

Initialise an input layer

init_kipf athena__kipf_msgpass_layer Subroutine

Initialise the message passing layer

init_msgpass athena__msgpass_layer Interface

Interfaces for handling graphs and outputs, and initialising the layer

init_neural_operator athena__neural_operator_layer Subroutine

Initialise neural operator layer

init_ono athena__orthogonal_nop_block Subroutine

Initialise parameter storage and output buffers for the block

init_ono_attn athena__orthogonal_attention_layer Subroutine

Initialise parameter storage and output buffers for the layer

init_pad athena__base_layer Interface
init_pool athena__base_layer Interface
init_recurrent athena__recurrent_layer Subroutine

Initialise the recurrent layer

init_reshape athena__reshape_layer Subroutine

Initialise reshape layer

init_spectral_filter athena__spectral_filter_layer Subroutine

Initialise parameter storage, fixed bases and output buffers

initialise athena__activation_relu Function

Initialise a ReLU activation function

initialise athena__base_layer Interface
initialise athena__activation_sigmoid Function

Initialise a sigmoid activation function

initialise athena__activation_tanh Function

Initialise a tanh activation function

initialise athena__activation_leaky_relu Function

Initialise a leaky ReLU activation function

initialise athena__activation_piecewise Function

Initialise a piecewise activation function

initialise athena__activation_none Function

Initialise a none (no-op) activation function

initialise athena__activation_softmax Function

Initialise a softmax activation function

initialise athena__activation_selu Function

Initialise a SELU activation function

initialise athena__activation_swish Function

Initialise a swish activation function

initialise athena__activation_gaussian Function

Initialise a Gaussian activation function

initialise athena__activation_linear Function

Initialise a linear activation function

initialise_export_storage athena__onnx_write_submodule Subroutine

Allocate the working arrays used during ONNX export.

initialise_json_parser athena__onnx_read_submodule Subroutine

Initialise the reusable parser state objects.

initialiser_data_setup athena__initialiser_data Function

Interface for the data initialiser

initialiser_gaussian_type athena__initialiser_gaussian Function

Interface for the Gaussian initialiser

initialiser_ident_setup athena__initialiser_ident Function

Interface for the Identity initialiser

initialiser_lecun_normal_setup athena__initialiser_lecun Function

Interface for the LeCun normal initialiser

initialiser_lecun_uniform_setup athena__initialiser_lecun Function

Interface for the LeCun uniform initialiser

initialiser_normal_setup athena__initialiser_he Function
initialiser_normal_setup athena__initialiser_glorot Function
initialiser_ones_setup athena__initialiser_ones Function

Interface for the Ones initialiser

initialiser_setup athena__initialiser Function

Set up the initialiser function

initialiser_uniform_setup athena__initialiser_he Function
initialiser_uniform_setup athena__initialiser_glorot Function
initialiser_zeros_setup athena__initialiser_zeros Function

Interface for the Zeros initialiser

input_layer_type athena__input_layer Interface

Interface for an input layer

inv_lr_decay_type athena__learning_rate_decay Interface

Interface for inverse learning rate decay type

inverse_design_array_0d athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

inverse_design_array_2d athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

inverse_design_real athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

is_activation_op_type athena__onnx_read_submodule Function

Return true for ONNX activation nodes emitted by ATHENA export.

is_json_object_start athena__onnx_read_submodule Function

Return true for section object lines like {.

is_onnx_expanded_gnn_graph athena__onnx_read_submodule Function

Return true when the parsed ONNX graph contains expanded-ONNX GNN patterns that ATHENA can collapse back into native message passing layers.

is_onnx_expanded_nop_graph athena__onnx_read_submodule Function

Return true when the parsed ONNX graph is a supported expanded-ONNX NOP decomposition that ATHENA can collapse back into native NOP layers.

kipf_msgpass_layer_type athena__kipf_msgpass_layer Interface

Interface for setting up the MPNN layer

kipf_propagate athena__diffstruc_extd Interface
kipf_update athena__diffstruc_extd Interface
layer_from_id athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

layer_setup athena__conv2d_layer Function

Set up the 2D convolutional layer

layer_setup athena__duvenaud_msgpass_layer Function

Set up the message passing layer

layer_setup athena__avgpool2d_layer Function

Set up the 2D average pooling layer

layer_setup athena__avgpool3d_layer Function

Set up the 3D average pooling layer

layer_setup athena__dropout_layer Function

Set up the dropout layer

layer_setup athena__batchnorm1d_layer Function

Set up the 1D batch normalisation layer

layer_setup athena__dynamic_lno_layer Function
layer_setup athena__conv1d_layer Function

Set up the 1D convolutional layer

layer_setup athena__orthogonal_attention_layer Function
layer_setup athena__concat_layer Function

Setup a concatenate layer

layer_setup athena__input_layer Function

Set up layer

layer_setup athena__maxpool3d_layer Function

Set up the 3D max pooling layer

layer_setup athena__conv3d_layer Function

Set up the 3D convolutional layer

layer_setup athena__actv_layer Function

Set up the activation layer

layer_setup athena__graph_nop_layer Function
layer_setup athena__pad1d_layer Function

Set up the 1D padding layer

layer_setup athena__reshape_layer Function

Set up the reshape layer

layer_setup athena__pad2d_layer Function

Set up the 2D padding layer

layer_setup athena__full_layer Function

Setup a fully connected layer

layer_setup athena__fixed_lno_layer Function
layer_setup athena__dropblock2d_layer Function

Set up the 2D dropblock layer

layer_setup athena__recurrent_layer Function

Setup a recurrent layer

layer_setup athena__avgpool1d_layer Function

Set up the 1D average pooling layer

layer_setup athena__add_layer Function

Setup a add layer

layer_setup athena__maxpool1d_layer Function

Set up the 1D max pooling layer

layer_setup athena__neural_operator_layer Function

Setup a neural operator layer

layer_setup athena__spectral_filter_layer Function
layer_setup athena__batchnorm3d_layer Function

Set up the 3D batch normalisation layer

layer_setup athena__pad3d_layer Function

Set up the 3D padding layer

layer_setup athena__dropblock3d_layer Function

Set up the 3D dropblock layer

layer_setup athena__kipf_msgpass_layer Function

Set up the message passing layer

layer_setup athena__batchnorm2d_layer Function

Set up the 2D batch normalisation layer

layer_setup athena__orthogonal_nop_block Function
layer_setup athena__maxpool2d_layer Function

!############################################################################# set up layer ! set up layer

Read more…
layer_setup athena__flatten_layer Function

Set up the flattening layer

leaky_relu_activate athena__activation_leaky_relu Function

Apply leaky ReLU activation to 1D array

Read more…
leaky_relu_actv_type athena__activation_leaky_relu Interface
leaky_relu_reset athena__activation_leaky_relu Subroutine

Reset leaky ReLU activation function attributes and variables

lecun_normal_init_type athena__initialiser_lecun Interface
lecun_normal_initialise athena__initialiser_lecun Subroutine

Initialise the weights and biases using the LeCun normal distribution

lecun_uniform_init_type athena__initialiser_lecun Interface
lecun_uniform_initialise athena__initialiser_lecun Subroutine

Initialise the weights and biases using the LeCun uniform distribution

linear_actv_type athena__activation_linear Interface
linear_renormalise athena__normalisation Subroutine

Renormalise input data to a specified range

lno_decode athena__diffstruc_extd Interface
lno_encode athena__diffstruc_extd Interface
load_nop_param_from_inits athena__onnx_nop_utils Subroutine

Load a parameter from ONNX initialisers into a diffstruc array.

load_onnx_expanded_matrix_param athena__onnx_nop_utils Subroutine

Copy a row-major ONNX matrix initialiser into a diffstruc parameter.

loss_eval athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

lr_decay_exp athena__learning_rate_decay Function

Get the learning rate for the exponential decay type

lr_decay_inv athena__learning_rate_decay Function

Get the learning rate for the inverse decay type

lr_decay_none athena__learning_rate_decay Function

Get the learning rate for the base decay type

lr_decay_step athena__learning_rate_decay Function

Get the learning rate for the step decay type

mae_loss_type athena__loss Interface

Interface for mean absolute error loss function

mae_score athena__accuracy Function

Compute the mean absolute error of a model

Read more…
maxpool1d athena__diffstruc_extd Interface
maxpool1d_layer_type athena__maxpool1d_layer Interface

Interface for setting up the 1D max pooling layer

maxpool2d athena__diffstruc_extd Interface
maxpool2d_layer_type athena__maxpool2d_layer Interface

Interface for setting up the 2D max pooling layer

maxpool3d athena__diffstruc_extd Interface
maxpool3d_layer_type athena__maxpool3d_layer Interface

Interface for setting up the 3D max pooling layer

merge_over_channels athena__diffstruc_extd Interface
metric_dict_add athena__metrics Function

Operation to add two metric_dict_type together

metric_dict_alloc athena__metrics Subroutine

Allocate memory for a metric_dict_type

metric_dict_check athena__metrics Subroutine

Check if the metric has converged

minimise_adagrad athena__optimiser Subroutine

Apply gradients to parameters to minimise loss using Adagrad optimiser

minimise_adam athena__optimiser Subroutine

Apply gradients to parameters to minimise loss using Adam optimiser

minimise_base athena__optimiser Subroutine

Apply gradients to parameters to minimise loss using base optimiser

minimise_rmsprop athena__optimiser Subroutine

Apply gradients to parameters to minimise loss using RMSprop optimiser

minimise_sgd athena__optimiser Subroutine

Apply gradients to parameters to minimise loss using SGD optimiser Adaptive learning method

move athena__tools_infile Subroutine

Move current position in file based on relative change

mse_loss_type athena__loss Interface

Interface for mean squared error loss function

mse_score athena__accuracy Function

Compute the mean squared error of a model

Read more…
msgpass_layer_type athena__msgpass_layer Interface

Interface for setting up the MPNN layer

network_copy athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

network_reduction athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

network_type athena__network Interface

Interface for setting up the network (network initialisation)

neural_operator_layer_type athena__neural_operator_layer Interface

Interface for setting up the neural operator layer

nll_loss_type athena__loss Interface

Interface for negative log likelihood loss function

none_actv_type athena__activation_none Interface
nullify_graph athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

nullify_graph_base athena__base_layer Interface
ones_init_type athena__initialiser_ones Interface
ones_initialise athena__initialiser_ones Subroutine

Initialise the weights and biases using the Ones distribution

onnx_attribute_type athena__misc_types Interface
onnx_to_athena_activation athena__onnx_utils Function

Convert an ONNX activation op_type string to the Athena activation name

ono_decode athena__diffstruc_extd Interface
ono_encode athena__diffstruc_extd Interface
optimiser_setup_adagrad athena__optimiser Function

Set up the Adagrad optimiser

optimiser_setup_adam athena__optimiser Function

Set up the Adam optimiser

optimiser_setup_base athena__optimiser Function

Set up the base optimiser

optimiser_setup_rmsprop athena__optimiser Function

Set up the RMSprop optimiser

optimiser_setup_sgd athena__optimiser Function

Set up the SGD optimiser

orthogonal_attention_layer_type athena__orthogonal_attention_layer Interface
orthogonal_nop_block_type athena__orthogonal_nop_block Interface
pad1d athena__diffstruc_extd Interface
pad1d_layer_type athena__pad1d_layer Interface

Interface for setting up the 1D padding layer

pad2d athena__diffstruc_extd Interface
pad2d_layer_type athena__pad2d_layer Interface

Interface for setting up the 2D padding layer

pad3d athena__diffstruc_extd Interface
pad3d_layer_type athena__pad3d_layer Interface

Interface for setting up the 3D padding layer

pad_data athena__misc_ml Subroutine

Pad data for convolutional layers

parse_any_node_layer_id athena__onnx_read_submodule Subroutine

Parse layer id from node_X or node_X_* names.

parse_initialiser_section_line athena__onnx_read_submodule Subroutine

Parse one line from the initialiser section.

parse_json_attribute athena__onnx_read_submodule Subroutine

Parse one or more JSON attribute objects from a line.

parse_json_int_array_from_strings athena__onnx_read_submodule Subroutine

Parse a JSON array of string-encoded integers.

parse_json_string_array athena__onnx_read_submodule Subroutine

Parse a JSON string array from one line.

parse_meta_layer_id athena__onnx_read_submodule Subroutine

Parse athena_gnn_node_ or athena_nop_node_ metadata key layer id.

parse_metadata_line athena__onnx_read_submodule Subroutine

Parse one metadataProps line.

parse_node_section_line athena__onnx_read_submodule Subroutine

Parse one line from the node section.

parse_nop_metadata athena__onnx_nop_utils Subroutine

Parse common NOP hyperparameters from metadata value string.

parse_primary_layer_id athena__onnx_read_submodule Subroutine

Parse node_ names and mark true only for primary layer nodes.

parse_single_json_attribute athena__onnx_read_submodule Subroutine

Parse a single JSON attribute object.

parse_space_separated_ints athena__onnx_utils Subroutine

Parse space-separated integers from a string into an allocatable array

parse_tensor_section_line athena__onnx_read_submodule Subroutine

Parse one line from the input or output tensor section.

piecewise athena__diffstruc_extd Interface
piecewise_actv_type athena__activation_piecewise Interface
post_epoch_hook athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

predict_array athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

predict_array_from_real athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

predict_generic athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

predict_graph1d athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

predict_graph2d athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

predict_real athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

print athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

print_base athena__base_layer Interface
print_build_info athena__io_utils Subroutine

Print the build information of the program.

print_summary athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

print_to_unit_actv athena__actv_layer Subroutine

Print activation layer to unit

print_to_unit_actv athena__misc_types Interface
print_to_unit_add athena__add_layer Subroutine

Print add layer to unit

print_to_unit_base athena__optimiser Subroutine

Print base optimiser information

print_to_unit_base athena__base_layer Interface
print_to_unit_batch athena__base_layer Interface
print_to_unit_concat athena__concat_layer Subroutine

Print concatenate layer to unit

print_to_unit_conv athena__base_layer Interface
print_to_unit_dropblock2d athena__dropblock2d_layer Subroutine

Print 2D dropblock layer to unit

print_to_unit_dropblock3d athena__dropblock3d_layer Subroutine

Print 3D dropblock layer to unit

print_to_unit_dropout athena__dropout_layer Subroutine

Print dropout layer to unit

print_to_unit_duvenaud athena__duvenaud_msgpass_layer Subroutine

Print kipf message passing layer to unit

print_to_unit_dynamic_lno athena__dynamic_lno_layer Subroutine

Print dynamic LNO settings and parameters to a unit

print_to_unit_fixed_lno athena__fixed_lno_layer Subroutine

Print fixed LNO settings and parameters to a unit

print_to_unit_flatten athena__flatten_layer Subroutine

Print flatten layer to unit

print_to_unit_full athena__full_layer Subroutine

Print fully connected layer to unit

print_to_unit_gno athena__graph_nop_layer Subroutine

Print graph neural operator settings and parameters to a unit

print_to_unit_input athena__input_layer Subroutine

Print input layer to unit

print_to_unit_kipf athena__kipf_msgpass_layer Subroutine

Print kipf message passing layer to unit

print_to_unit_neural_operator athena__neural_operator_layer Subroutine

Print neural operator layer to unit

print_to_unit_ono athena__orthogonal_nop_block Subroutine

Print orthogonal neural operator settings and parameters to a unit

print_to_unit_ono_attn athena__orthogonal_attention_layer Subroutine

Print orthogonal attention layer settings and parameters to a unit

print_to_unit_pad athena__base_layer Interface
print_to_unit_pool athena__base_layer Interface
print_to_unit_recurrent athena__recurrent_layer Subroutine

Print recurrent layer to unit

print_to_unit_reshape athena__reshape_layer Subroutine

Print reshape layer to unit

print_to_unit_spectral_filter athena__spectral_filter_layer Subroutine

Print spectral filter settings and parameters to a unit

print_version athena__io_utils Subroutine

Print the version number of the program.

r2_score athena__accuracy Function

Compute the R^2 score of a model

Read more…
random_setup athena__random Subroutine

Initialise the random number generator no need to initialise if already initialised

read athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

read_activation athena__activation Function

Read activation function from input file

read_activation_attributes athena__activation Function
read_actv athena__actv_layer Subroutine

Read activation layer from file don't look for "e" due to scientific notation of numbers ... i.e. exponent (E+00)

read_actv_layer athena__actv_layer Function

Read activation layer from file

read_add athena__add_layer Subroutine

Read add layer from file

read_add_layer athena__add_layer Function

Read add layer from file and return layer

read_avgpool1d athena__avgpool1d_layer Subroutine

Read 1D average pooling layer from file

read_avgpool1d_layer athena__avgpool1d_layer Function

Read 1D average pooling layer from file and return layer

read_avgpool2d athena__avgpool2d_layer Subroutine

Read 2D average pooling layer from file

read_avgpool2d_layer athena__avgpool2d_layer Function

Read 2D average pooling layer from file and return layer

read_avgpool3d athena__avgpool3d_layer Subroutine

Read 3D average pooling layer from file

read_avgpool3d_layer athena__avgpool3d_layer Function

Read 3D average pooling layer from file and return layer

read_base athena__optimiser Subroutine

Read base optimiser information

read_batchnorm1d athena__batchnorm1d_layer Subroutine

Read 1D batch normalisation layer from file

read_batchnorm1d_layer athena__batchnorm1d_layer Function

Read 1D batch normalisation layer from file and return layer

read_batchnorm2d athena__batchnorm2d_layer Subroutine

Read 2D batch normalisation layer from file

read_batchnorm2d_layer athena__batchnorm2d_layer Function
read_batchnorm3d athena__batchnorm3d_layer Subroutine

Read 3D batch normalisation layer from file

read_batchnorm3d_layer athena__batchnorm3d_layer Function

Read 3D batch normalisation layer from file and return layer

read_clip athena__clipper Subroutine

Read clipping information

read_concat athena__concat_layer Subroutine

Read concatenate layer from file

read_concat_layer athena__concat_layer Function

Read concatenate layer from file and return layer

read_conv1d athena__conv1d_layer Subroutine

Read 1D convolutional layer from file

read_conv1d_layer athena__conv1d_layer Function

Read 1D convolutional layer from file and return layer

read_conv2d athena__conv2d_layer Subroutine

Read 2D convolutional layer from file

read_conv2d_layer athena__conv2d_layer Function

Read 2D convolutional layer from file and return layer

read_conv3d athena__conv3d_layer Subroutine

Read 3D convolutional layer from file

read_conv3d_layer athena__conv3d_layer Function

Read 3D convolutional layer from file and return layer

read_dropblock2d athena__dropblock2d_layer Subroutine

Read 2D dropblock layer from file

read_dropblock2d_layer athena__dropblock2d_layer Function

Read 2D dropblock layer from file and return layer

read_dropblock3d athena__dropblock3d_layer Subroutine

Read 3D dropblock layer from file

read_dropblock3d_layer athena__dropblock3d_layer Function

Read 3D dropblock layer from file and return layer

read_dropout athena__dropout_layer Subroutine

Read dropout layer from file

read_dropout_layer athena__dropout_layer Function

Read dropout layer from file and return layer

read_duvenaud athena__duvenaud_msgpass_layer Subroutine

Read the message passing layer

read_duvenaud_msgpass_layer athena__duvenaud_msgpass_layer Function

Read duvenaud message passing layer from file and return layer

read_dynamic_lno athena__dynamic_lno_layer Subroutine
read_dynamic_lno_layer athena__dynamic_lno_layer Function

Read a dynamic LNO layer from file and return it

read_fixed_lno athena__fixed_lno_layer Subroutine
read_fixed_lno_layer athena__fixed_lno_layer Function

Read a fixed LNO layer from file and return it

read_flatten athena__flatten_layer Subroutine

Read flattening layer from file

read_flatten_layer athena__flatten_layer Function

Read flattening layer from file and return layer

read_full athena__full_layer Subroutine

Read fully connected layer from file

read_full_layer athena__full_layer Function

Read fully connected layer from file and return layer

read_gno athena__graph_nop_layer Subroutine
read_graph_nop_layer athena__graph_nop_layer Function

Read a graph NOP layer from file and return

read_input athena__input_layer Subroutine

Read an input layer from a file

read_input_layer athena__input_layer Function

Read an input layer from a file

read_kipf athena__kipf_msgpass_layer Subroutine

Read the message passing layer

read_kipf_msgpass_layer athena__kipf_msgpass_layer Function

Read kipf message passing layer from file and return layer

read_layer athena__container_layer Interface
read_layer athena__base_layer Interface
read_maxpool1d athena__maxpool1d_layer Subroutine

Read 1D max pooling layer from file

read_maxpool1d_layer athena__maxpool1d_layer Function

Read 1D max pooling layer from file and return layer

read_maxpool2d athena__maxpool2d_layer Subroutine

Read 2D max pooling layer from file

read_maxpool2d_layer athena__maxpool2d_layer Function

Read 2D max pooling layer from file and return layer

read_maxpool3d athena__maxpool3d_layer Subroutine

Read 3D max pooling layer from file

read_maxpool3d_layer athena__maxpool3d_layer Function

Read 3D max pooling layer from file and return layer

read_network_settings athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

read_neural_operator athena__neural_operator_layer Subroutine

Read neural operator layer from file

read_neural_operator_layer athena__neural_operator_layer Function

Read neural operator layer from file and return as base_layer_type

read_onnx athena__onnx Interface
read_ono athena__orthogonal_nop_block Subroutine
read_ono_attn athena__orthogonal_attention_layer Subroutine
read_optimiser_settings athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

read_orthogonal_attention_layer athena__orthogonal_attention_layer Function

Read an orthogonal attention layer from file and return it

read_orthogonal_nop_block athena__orthogonal_nop_block Function

Read an orthogonal neural operator block from file and return it

read_pad1d athena__pad1d_layer Subroutine

Read 1D padding layer from file

read_pad1d_layer athena__pad1d_layer Function

Read 1D padding layer from file and return layer

read_pad2d athena__pad2d_layer Subroutine

Read 2D padding layer from file

read_pad2d_layer athena__pad2d_layer Function

Read 2D padding layer from file and return layer

read_pad3d athena__pad3d_layer Subroutine

Read 3D padding layer from file

read_pad3d_layer athena__pad3d_layer Function

Read 3D padding layer from file and return layer

read_recurrent athena__recurrent_layer Subroutine

Read recurrent layer from file

read_recurrent_layer athena__recurrent_layer Function

Read recurrent layer from file and return layer

read_reshape athena__reshape_layer Subroutine

Read reshape layer from file

read_reshape_layer athena__reshape_layer Function

Read reshape layer from file

read_spectral_filter athena__spectral_filter_layer Subroutine
read_spectral_filter_layer athena__spectral_filter_layer Function

Read a spectral filter layer from file and return it

recurrent_layer_type athena__recurrent_layer Interface
reduce_conv3d athena__conv3d_layer Subroutine

Merge two 3D convolutional layers via parameter summation

reduce_learnable athena__base_layer Interface
regularise_l1 athena__regulariser Subroutine

Regularise the parameters using L1 regularisation

regularise_l1l2 athena__regulariser Subroutine

Regularise the parameters using L1 and L2 regularisation

regularise_l2 athena__regulariser Subroutine

Regularise the parameters using L2 regularisation

relu_actv_type athena__activation_relu Interface
renormalise_norm athena__normalisation Subroutine

Renormalise input data to a unit norm

renormalise_sum athena__normalisation Subroutine

Renormalise input data to a unit sum

reset athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

reset_gaussian athena__activation_gaussian Subroutine

Reset Gaussian activation function attributes and variables

reset_gradients athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

reset_initialiser_state athena__onnx_read_submodule Subroutine

Reset the reusable initialiser parser state.

reset_linear athena__activation_linear Subroutine

Reset linear activation function attributes and variables

reset_node_state athena__onnx_read_submodule Subroutine

Reset the reusable node parser state.

reset_none athena__activation_none Subroutine

Reset none activation function attributes and variables

reset_piecewise athena__activation_piecewise Subroutine

Reset piecewise activation function attributes and variables

reset_relu athena__activation_relu Subroutine

Reset ReLU activation function attributes and variables

reset_selu athena__activation_selu Subroutine

Reset SELU activation function attributes and variables

reset_sigmoid athena__activation_sigmoid Subroutine

Reset sigmoid activation function attributes and variables

reset_softmax athena__activation_softmax Subroutine

Reset softmax activation function attributes and variables

reset_state athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

reset_state_recurrent athena__recurrent_layer Subroutine

Reset the hidden state of the recurrent layer

reset_swish athena__activation_swish Subroutine

Reset swish activation function attributes and variables

reset_tanh athena__activation_tanh Subroutine

Reset tanh activation function attributes and variables

reset_tensor_state athena__onnx_read_submodule Subroutine

Reset the reusable tensor parser state.

reshape_layer_type athena__reshape_layer Interface

Interface for setting up the reshape layer

resolve_onnx_export_format athena__onnx_write_submodule Function

Resolve the ONNX export format into the internal integer selector.

restore_mode athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

reverse_kipf_propagate athena__diffstruc_extd_submodule_msgpass_kipf Function

Reverse propagate values from one autodiff array to another

rm_comments athena__tools_infile Subroutine

Remove comment from a string (anything after ! or #)

rmse_score athena__accuracy Function

Compute the root mean squared error of a model

Read more…
rmsprop_optimiser_type athena__optimiser Interface

Interface for setting up the RMSprop optimiser

row_to_col_major_2d athena__onnx_utils Subroutine

Convert flat row-major [m,n] to flat column-major [m,n] Inverse of col_to_row_major_2d.

save_input_to_network athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

save_output_to_network athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

selu_actv_type athena__activation_selu Interface
set_accuracy athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

set_batch_size athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

set_clip athena__clipper Subroutine

Set clipping information

set_gradients athena__base_layer Interface
set_gradients athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

set_graph_base athena__base_layer Interface
set_graph_duvenaud athena__duvenaud_msgpass_layer Subroutine

Set the graph structure of the input data

set_graph_msgpass athena__msgpass_layer Interface

Interfaces for handling learnable parameters and gradients

set_hyperparams_actv athena__actv_layer Subroutine

Set hyperparameters for activation layer

set_hyperparams_add athena__add_layer Subroutine

Set the hyperparameters for add layer

set_hyperparams_avgpool1d athena__avgpool1d_layer Subroutine

Set hyperparameters for 1D average pooling layer

set_hyperparams_avgpool2d athena__avgpool2d_layer Subroutine

Set hyperparameters for 2D average pooling layer

set_hyperparams_avgpool3d athena__avgpool3d_layer Subroutine

Set hyperparameters for 3D average pooling layer

set_hyperparams_batchnorm1d athena__batchnorm1d_layer Subroutine

Set hyperparameters for 1D batch normalisation layer

set_hyperparams_batchnorm2d athena__batchnorm2d_layer Subroutine

Set hyperparameters for 2D batch normalisation layer

set_hyperparams_batchnorm3d athena__batchnorm3d_layer Subroutine

Set hyperparameters for 3D batch normalisation layer

set_hyperparams_concat athena__concat_layer Subroutine

Set the hyperparameters for concatenate layer

set_hyperparams_conv1d athena__conv1d_layer Subroutine

Set hyperparameters for 1D convolutional layer

set_hyperparams_conv2d athena__conv2d_layer Subroutine

Set hyperparameters for 2D convolutional layer

set_hyperparams_conv3d athena__conv3d_layer Subroutine

Set hyperparameters for 3D convolutional layer

set_hyperparams_dropblock2d athena__dropblock2d_layer Subroutine

Set hyperparameters for 2D dropblock layer

set_hyperparams_dropblock3d athena__dropblock3d_layer Subroutine

Set hyperparameters for 3D dropblock layer

set_hyperparams_dropout athena__dropout_layer Subroutine

Set hyperparameters for dropout layer

set_hyperparams_duvenaud athena__duvenaud_msgpass_layer Subroutine

Set the hyperparameters for the message passing layer

set_hyperparams_dynamic_lno athena__dynamic_lno_layer Subroutine
set_hyperparams_fixed_lno athena__fixed_lno_layer Subroutine
set_hyperparams_flatten athena__flatten_layer Subroutine

Set hyperparameters for flattening layer

set_hyperparams_full athena__full_layer Subroutine

Set the hyperparameters for fully connected layer

set_hyperparams_gno athena__graph_nop_layer Subroutine
set_hyperparams_input athena__input_layer Subroutine

Set hyperparameters for an input layer

set_hyperparams_kipf athena__kipf_msgpass_layer Subroutine

Set the hyperparameters for the message passing layer

set_hyperparams_maxpool1d athena__maxpool1d_layer Subroutine

Set hyperparameters for 1D max pooling layer

set_hyperparams_maxpool2d athena__maxpool2d_layer Subroutine

Set hyperparameters for 2D max pooling layer

set_hyperparams_maxpool3d athena__maxpool3d_layer Subroutine

Set hyperparameters for 3D max pooling layer

set_hyperparams_neural_operator athena__neural_operator_layer Subroutine

Set the hyperparameters for the neural operator layer

set_hyperparams_ono athena__orthogonal_nop_block Subroutine
set_hyperparams_ono_attn athena__orthogonal_attention_layer Subroutine
set_hyperparams_pad1d athena__pad1d_layer Subroutine

Set hyperparameters for 1D padding layer

set_hyperparams_pad2d athena__pad2d_layer Subroutine

Set hyperparameters for 2D padding layer

set_hyperparams_pad3d athena__pad3d_layer Subroutine

Set hyperparameters for 3D padding layer

set_hyperparams_recurrent athena__recurrent_layer Subroutine

Set the hyperparameters for fully connected layer

set_hyperparams_reshape athena__reshape_layer Subroutine

Set hyperparameters for reshape layer

set_hyperparams_spectral_filter athena__spectral_filter_layer Subroutine
set_inference_mode athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

set_input_graph athena__input_layer Subroutine

Set input values for an input layer

set_input_real athena__input_layer Subroutine

Set input values for an input layer

set_loss athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

set_metrics athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

set_padding athena__misc_ml Subroutine

Set padding for convolutional layers

set_params athena__base_layer Interface
set_params athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

set_rank_actv athena__actv_layer Subroutine

Set the input and output ranks of the activation layer

set_rank_base athena__base_layer Interface
set_rank_flatten athena__flatten_layer Subroutine

Set the input and output ranks of the layer

set_shape_base athena__base_layer Interface
set_training_mode athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

setup_bounds athena__misc_types Interface

Interface for setting up bounds

setup_loss_bce athena__loss Function

Set up binary cross entropy loss function

setup_loss_cce athena__loss Function

Set up categorical cross entropy loss function

setup_loss_huber athena__loss Function

Set up huber loss function

setup_loss_mae athena__loss Function

Set up mean absolute error loss function

setup_loss_mse athena__loss Function

Set up mean squared error loss function

setup_loss_nll athena__loss Function

Set up negative log likelihood loss function

setup_lr_decay_base athena__learning_rate_decay Function

Set up base learning rate decay type

setup_lr_decay_exp athena__learning_rate_decay Function

Set up exponential learning rate decay type

setup_lr_decay_inv athena__learning_rate_decay Function

Set up inverse learning rate decay type

setup_lr_decay_step athena__learning_rate_decay Function

Set up step learning rate decay type

sgd_optimiser_type athena__optimiser Interface

Interface for setting up the SGD optimiser

shuffle athena__misc_ml Interface

Shuffle an array along one dimension

Read more…
shuffle_1Dilist athena__misc_ml Subroutine

Shuffle a 1D array along one dimension

shuffle_2Drdata athena__misc_ml Subroutine
shuffle_2Drdata_1Drlist athena__misc_ml Subroutine

Shuffle a 2D array along one dimension

shuffle_3Didata athena__misc_ml Subroutine

Shuffle a 3D array along one dimension

shuffle_3Didata_1Dilist athena__misc_ml Subroutine

Shuffle a 3D array along one dimension

shuffle_3Didata_1Drlist athena__misc_ml Subroutine

Shuffle a 3D array along one dimension

shuffle_3Drdata athena__misc_ml Subroutine

Shuffle a 3D array along one dimension

shuffle_4Drdata athena__misc_ml Subroutine

Shuffle a 4D array along one dimension

shuffle_4Drdata_1Dilist athena__misc_ml Subroutine

Shuffle a 4D array along one dimension

shuffle_5Drdata athena__misc_ml Subroutine

Shuffle a 5D array along one dimension

shuffle_5Drdata_1Dilist athena__misc_ml Subroutine

Shuffle a 5D array along one dimension

shuffle_5Drdata_1Drlist athena__misc_ml Subroutine

Shuffle a 5D array along one dimension

sigmoid_actv_type athena__activation_sigmoid Interface
softmax athena__diffstruc_extd Interface
softmax_actv_type athena__activation_softmax Interface
softmax_reverse_array athena__diffstruc_extd_submodule Function

Softmax function for reverse mode autodiff

sort_int_array athena__onnx_read_submodule Subroutine

Sort an integer array in ascending order.

spectral_filter_layer_type athena__spectral_filter_layer Interface
split athena__misc_ml Interface

Split an array into train and test sets

Read more…
split_2Drdata_1Drlist athena__misc_ml Subroutine

Split a 2D array along one dimension

split_3Didata_1Dilist athena__misc_ml Subroutine
split_3Didata_1Drlist athena__misc_ml Subroutine

Split a 3D array along one dimension

split_5Drdata athena__misc_ml Subroutine

Split a 5D array along one dimension

split_5Drdata_1Drlist athena__misc_ml Subroutine

Split a 5D array along one dimension

step_lr_decay_type athena__learning_rate_decay Interface

Interface for step learning rate decay type

stop_check athena__tools_infile Function

Logical check for stop file Check if file exists Read line-by-line

store_initialiser_state athena__onnx_read_submodule Subroutine

Copy the current initialiser state into the parsed result collection.

store_node_state athena__onnx_read_submodule Subroutine

Copy the current node state into the parsed result collection.

store_tensor_state athena__onnx_read_submodule Subroutine

Copy the current tensor state into the parsed result collection.

swish athena__diffstruc_extd Interface
swish_actv_type athena__activation_swish Interface

Interface for setting up swish activation function

tanh_actv_type athena__activation_tanh Interface
test athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

train athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

update athena__network Interface

Interface for printing the network to file Interface for printing a summary of the network Interface for reading the network from a file Interface for reading network settings from a file Interface for reading optimiser settings from a file Interface for building network from ONNX nodes and initialisers Interface for adding a layer to the network Interface for resetting the network Interface for compiling the network Interface for setting batch size Interface for setting network metrics Interface for setting network loss method Interface for setting network accuracy method Interface for resetting state of recurrent layers Interface for saving input to network Interface for saving output to network Interface for training the network Interface for testing the network Interface for returning predicted results from supplied inputs using the trained network Interface for returning predicted results from supplied inputs using the trained network (graph input) Interface for updating the learnable parameters of the network based on gradients Interface for generating vertex order Interface for depth first search Interface for calculating root vertices Interface for calculating output vertices Interface for reducing two networks down to one (i.e. add two networks - parallel) Interface for copying a network Interface for getting number of learnable parameters in the network Interface for getting learnable parameters Interface for setting learnable parameters Interface for getting gradients of learnable parameters Interface for setting learnable parameter gradients Interface for resetting learnable parameter gradients Interface for forward pass

update_array_bracket_depth athena__onnx_read_submodule Subroutine

Update square-bracket nesting depth for multiline JSON arrays.

update_message_duvenaud athena__duvenaud_msgpass_layer Subroutine

Update the message

update_message_gno athena__graph_nop_layer Subroutine

Update message for the Graph Neural Operator layer

Read more…
update_message_kipf athena__kipf_msgpass_layer Subroutine

Update the message

update_message_msgpass athena__msgpass_layer Interface

interface for the message forward and backward passes

update_object_depth athena__onnx_read_submodule Subroutine

Update a nested object depth counter from one JSON line.

update_pytorch_prev_output athena__onnx_write_submodule Subroutine

Resolve the downstream tensor name after emitting one PyTorch-format NOP.

update_readout_duvenaud athena__duvenaud_msgpass_layer Subroutine

Update the readout

update_readout_gno athena__graph_nop_layer Subroutine

No graph-level readout needed — GNO produces node-level output

update_readout_kipf athena__kipf_msgpass_layer Subroutine

Update the readout (empty for node-level output)

update_readout_msgpass athena__msgpass_layer Interface

interface for the readout forward and backward passes

wandb_post_epoch_hook athena_wandb Subroutine

Called automatically at the end of each training epoch. Logs "loss" and "accuracy" to the current W&B run.

wandb_setup athena_wandb Subroutine

Initialise a Weights & Biases run for this network.

Read more…
write_json_initialisers athena__onnx_utils Subroutine

Write initialisers array to JSON with base64-encoded rawData

write_json_nodes athena__onnx_utils Subroutine

Write nodes array to JSON

write_json_tensors athena__onnx_utils Subroutine

Write input/output tensor specifications to JSON

write_onnx athena__onnx Interface
write_onnx_json_file athena__onnx_write_submodule Subroutine

Write the collected export data to disk.

zeros_init_type athena__initialiser_zeros Interface
zeros_initialise athena__initialiser_zeros Subroutine

Initialise the weights and biases using the Zeros distribution