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