dlpy.sequential.Sequential.switch

Sequential.switch(loc1, loc2)

Switch the order of two layers in the model.

Parameters
loc1int

Specifies the index of the first layer

loc2int

Specifies the index of the second layer