%% Check if Layer Graphs are Equal
% Create two instances of SqueezeNet layer graphs.

lgraph1 = squeezenet('Weights','none');
lgraph2 = squeezenet('Weights','none');

% Check if the layer graphs are equal using the isequal function.

tf = isequal(lgraph1,lgraph2)

% Copyright 2020 The MathWorks, Inc.