Code Monkey home page Code Monkey logo

Comments (3)

fvisin avatar fvisin commented on June 18, 2024

I understand how this can be confusing: the convention we are using is to refer to the parameters of the direct convolution as i, k, s and p, and those of the transposed convolution (i.e., the one that we would apply to the output of the transposed convolution if we wanted to obtain a matrix of the same shape as the one the direct convolution was applied on) as i', k', s' and p'.

In other words, what Figure 4.2's captions is saying is that if we had a direct convolution from a matrix A to a matrix B, with matrix A being 5x5, using a 4x4 kernel, unit stride and 2x2 padding (i.e., i=5, k=4, s= 1 and p=2) and we applied a transposed convolution to B to obtain a matrix C of the same shape as A, the transposed convolution would have parameters i'=6, k'=4, s'= 1 and p'=1.

I hope this helps clarifying it.

from conv_arithmetic.

EngineerKhan avatar EngineerKhan commented on June 18, 2024

I have been trying to implement it in JAX, but being unable to match the dimensions with the formula is really putting me off. Should I apply the a-trous formula there or something else is wrong there? Some help would be really appreciated as I am stuck due to this.

from conv_arithmetic.

fvisin avatar fvisin commented on June 18, 2024

Unfortunately we don't have the resources to provide help with your code nor to provide guidance on how to implement this, but please let me know if there is something that is still unclear about the Figure or the guide.

from conv_arithmetic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.