athena__onnx Module

Module containing the types and interfaces for ONNX operations



Interfaces

interface

  • public module function read_onnx(file, verbose) result(network)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: file

    File to import the network from

    integer, intent(in), optional :: verbose

    Verbosity level (0=quiet, 1=normal, 2=debug)

    Return Value type(network_type)

    Network instance

interface

  • public module subroutine write_onnx(file, network, format)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: file

    File to export the network to

    class(network_type), intent(in) :: network

    Instance of network

    class(*), intent(in), optional :: format

    Export format: 'athena_abstract' (default) or 'onnx_expanded'