isequal
Description
checks the equality of tf
= isequal(net1,net2
)SeriesNetwork
, DAGNetwork
,
LayerGraph
, or dlnetwork
objects net1
and net2
.
If both inputs are
SeriesNetwork
orDAGNetwork
objects, or one of each, then the function returns1
(true) when the properties and architectures match. Otherwise, the function returns0
(false).If both inputs are
LayerGraph
objects, then the function returns1
(true) when the properties and architectures match. Otherwise, the function returns0
(false).If both inputs are
dlnetwork
objects, then the function returns1
(true) when the properties and architectures match. Otherwise, the function returns0
(false).For other combinations, the function returns
0
(false).
The isequal
function can operate on arrays of networks and
layer graphs. In this case, the function performs element-wise comparison.
checks equality of
the tf
= isequal(net1,...,netN)N
networks or layer graphs net1
, …,
netN
.
Examples
Input Arguments
Version History
Introduced in R2021a
See Also
isequaln
| trainNetwork
| SeriesNetwork
| DAGNetwork
| analyzeNetwork
| assembleNetwork
| dlnetwork