You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image Expand Function
Need to implement an image expand Function, Converts an NCHW format image input data into an NST format sequence data. Where N is batch size, S is the length of the sequence after each image is expanded, T is the size of each time step in the sequence.
Modify Im2ColFunctor implementation
The input and output of Matrix::convExpand and Im2ColFunctor are in the following format,
The output in the Image Expand Function requires [output_height, output_width, input_channels, filter_height, filter_width] format, this can be convenient for reshape into [S, T] format, where S is output_height * output_width, and T is input_channels * filter_height * filter_width. Otherwise, you will need to do a transpose operation on the result of Im2ColFunctor. transpose in BlockExpandLayer
The text was updated successfully, but these errors were encountered: