Main Content


Print network summary

Since R2022b



    summary(net) prints a summary of the dlnetwork object net. The summary shows whether the network is initialized, the total number of learnable parameters, and information about the network inputs.

    To print the network input summary, the network inputs must be input layers or the network must be initialized. To print the network learnable parameter summary, the network must be initialized.


    collapse all

    Load the dlnetwork object net from the dlnetDigits MAT file.

    load dlnetDigits

    Print the network summary using the summary function.

       Initialized: true
       Number of learnables: 84k
          1   'in'   28x28x1 images

    Input Arguments

    collapse all

    Neural network, specified as a dlnetwork object.

    Version History

    Introduced in R2022b