cns_setstepnos

Automatically determines the execution order of layers for feedforward models.

Syntax

m = cns_setstepnos(m, mode, mode-specific-args)
m
A model structure.

mode
Selects the method that will be used to figure out the execution order; see the table below. (Currently the only option is 'field'.)

mode-specific-args
Additional arguments depending on the mode; see the table below.
Mode Description and Additional Arguments
'field' Assumes that all layer-layer dependencies are encoded by one or more pointer fields (class 'lz') defined at the base level. The only additional argument is:
field
field
The name of a single pointer field, or a cell array of names.

Notes

It may also be appropriate to set the independent flag for your model.