Default implementation: no-op (standard layers don't add graph inputs)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_layer_type), | intent(in) | :: | this |
Instance of the layer |
||
| character(len=*), | intent(in) | :: | prefix |
Prefix for input names |
||
| type(onnx_tensor_type), | intent(inout), | dimension(:) | :: | graph_inputs |
ONNX graph inputs |
|
| integer, | intent(inout) | :: | num_inputs |
Number of ONNX graph inputs |
module subroutine emit_onnx_graph_inputs_base( & this, prefix, & graph_inputs, num_inputs & ) !! Default implementation: no-op (standard layers don't add graph inputs) implicit none ! Arguments class(base_layer_type), intent(in) :: this !! Instance of the layer character(*), intent(in) :: prefix !! Prefix for input names type(onnx_tensor_type), intent(inout), dimension(:) :: graph_inputs !! ONNX graph inputs integer, intent(inout) :: num_inputs !! Number of ONNX graph inputs ! Default: do nothing. Standard input layers are handled directly. end subroutine emit_onnx_graph_inputs_base