Main Content

summary

Print network summary

Since R2022b

    Description

    example

    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.

    Examples

    collapse all

    Load the dlnetwork object net from the dlnetDigits MAT file.

    load dlnetDigits

    Print the network summary using the summary function.

    summary(net)
       Initialized: true
    
       Number of learnables: 84k
    
       Inputs:
          1   'in'   28x28x1 images
    

    Input Arguments

    collapse all

    Neural network, specified as a dlnetwork object.

    Version History

    Introduced in R2022b