Build layer from ONNX node and initialiser
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_layer_type), | intent(inout) | :: | this |
Instance of the layer |
||
| type(onnx_node_type), | intent(in) | :: | node |
ONNX node |
||
| type(onnx_initialiser_type), | intent(in), | dimension(:) | :: | initialisers |
ONNX initialisers |
|
| type(onnx_tensor_type), | intent(in), | dimension(:) | :: | value_info |
ONNX value info |
|
| integer, | intent(in) | :: | verbose |
Verbosity level |
module subroutine build_from_onnx_base( & this, node, initialisers, value_info, verbose & ) !! Build layer from ONNX node and initialiser implicit none ! Arguments class(base_layer_type), intent(inout) :: this !! Instance of the layer type(onnx_node_type), intent(in) :: node !! ONNX node type(onnx_initialiser_type), dimension(:), intent(in) :: initialisers !! ONNX initialisers type(onnx_tensor_type), dimension(:), intent(in) :: value_info !! ONNX value info integer, intent(in) :: verbose !! Verbosity level write(0,*) "build_from_onnx_base: " // & trim(this%name) // " layer cannot be built from ONNX" end subroutine build_from_onnx_base