Skip to content

Make ConvTransProjection support for dilation. #6187

Closed
@wanghaoshuang

Description

@wanghaoshuang

We calculate output size of ConvTransProjection with origin filterH_ and filterW_, but not take into consideration dilation.
It should be wrote as:

imageH_ = imageSize(outputH_,
                        (filterH_ - 1) * dilationH_ + 1,
                        paddingH_,
                        strideH_,
                       /* caffeMode */ true);

And, outputSize and imageSize are not always reciprocal, so we should't use origin IMAGE_SIZE as ConvTransProjection output size while using output_x as input size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions