| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_layer_type), | intent(in) | :: | this |
Instance of the layer |
||
| character(len=*), | intent(in) | :: | prefix |
Node name prefix (e.g. "node_2") |
||
| type(onnx_node_type), | intent(inout), | dimension(:) | :: | nodes |
Accumulator for ONNX nodes |
|
| integer, | intent(inout) | :: | num_nodes |
Current number of nodes |
||
| integer, | intent(in) | :: | max_nodes |
Maximum capacity |
||
| type(onnx_initialiser_type), | intent(inout), | dimension(:) | :: | inits |
Accumulator for ONNX initialisers |
|
| integer, | intent(inout) | :: | num_inits |
Current number of initialisers |
||
| integer, | intent(in) | :: | max_inits |
Maximum capacity |
||
| character(len=*), | intent(in), | optional | :: | input_name |
Upstream tensor name used by sequential expanded ONNX format |
|
| logical, | intent(in), | optional | :: | is_last_layer |
Whether this is the last non-input layer in the network |
|
| integer, | intent(in), | optional | :: | format |
Export format selector 1 = ONNX athena abstract format (default) 2 = ONNX expanded format |
Emit ONNX JSON nodes for this layer Default implementation does nothing; override for GNN/NOP layers