Skip to content

Support of padding, dilation and stride in compute_grad1 function #3

@oljike

Description

@oljike

Propose to substitute the following line:

A = torch.nn.functional.unfold(A, layer.kernel_size)

with:
A = torch.nn.functional.unfold(A, layer.kernel_size, dilation=layer.dilation, padding=layer.padding, stride=layer.stride)

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