Giter VIP home page Giter VIP logo

Comments (4)

fabioasdias avatar fabioasdias commented on August 12, 2024

I didn't really understand your problem. Do you want to do a convolution on each element of the sequence separately OR on the sequence itself as a whole? What have you tried? (code snippets are always helpful)

from fold.

MadcowD avatar MadcowD commented on August 12, 2024

Apologies: I am trying to do the following. Given a variable length sequence of vectors [v_1, \dots, v_n] where n varies in the batch and v_i is d-dimensional, I would like to treat the sequence itself as an image with dimensions n x d.

Then I would like to apply a convolutional layer to this image. I'm implementing the TCNN model of http://www.aclweb.org/anthology/P14-1062

from fold.

fabioasdias avatar fabioasdias commented on August 12, 2024

Just for clarification, lets assume that you can do that (I'm not sure how yet, it is beyond my current abilities - maybe concatenating the sequence to generate a td.Tensor((n,d)) then convolution as I did in issue #14 ).

Then, for each example, the number of outputs of the convolution would be different (because they depend on the size (n,d) of the input image). How would you feed this into the next layer, in your model?

from fold.

mherreshoff avatar mherreshoff commented on August 12, 2024

from fold.

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.