dlhdl.layer.reshapeLayer
Description
Use reshapeLayer objects to create a reshape layer. You can use
reshape layers to change the shape of activation data.
Creation
Syntax
Description
creates a reshape layer that reshapes activation data using the size vector specified by
layer = dlhdl.layer.reshapeLayer(sizeVector)sizeVector.
creates a reshape layer that reshapes activation data into an
layer = dlhdl.layer.reshapeLayer(sz1,sz2,sz3)sz1-by-sz2-by-sz3
array. To automatically calculate the size of the array elements set one of
sz1, sz2, or sz3 to
[].
sets the optional layer = dlhdl.layer.reshapeLayer(___,Name=Value)Name property by using name-value
arguments.
Properties
Examples
Version History
Introduced in R2024b