Main Content

summary

Print network summary

    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.

    Network input summaries require or input layers or an initialized network. Network learnable parameter summaries require an initialized network.

    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