GithubHelp home page GithubHelp logo

Comments (6)

snowkylin avatar snowkylin commented on September 2, 2024

Notice that "where n is set to equal the number of reads to memory." below equation (6) in the MANN paper. So not only one position will be set to 1.

from ntm.

shamanez avatar shamanez commented on September 2, 2024

yeah yeah. If there are 4 read heads we need to have four ones in the used vectors and others in to zero. Sorry I missed that part.

But what is the logic? Cannot find why they take this number?

from ntm.

shamanez avatar shamanez commented on September 2, 2024

@snowkylin can you please explain what does it mean to get least n indices which n is equal to the number of heads?

from ntm.

snowkylin avatar snowkylin commented on September 2, 2024

Considered that, if this is a conventional Turing Machine, we have 4 heads and want to store 4 different vectors into the memory by these heads, it means we need to write to 4 different positions in the memory, so we would like to find 4 proper slots (better if these slots are least used), make it empty and write data in them. NTM is more differentiable than TM, but the main point is roughly the same.

from ntm.

shamanez avatar shamanez commented on September 2, 2024

Yeah I got it. Anyway it's more like giving a chance to use 4 empty slots for the 4 read heads. Anyway, it's like 4 read heads finds 4 different things they can write that down to 4 different slots. Otherwise, if they find something similar they have the option to write everything in to the same also. Am I correct?

from ntm.

snowkylin avatar snowkylin commented on September 2, 2024

Yes, I think the model just give the "chance" for the 4 heads to write to different slots without conflict by preparing 4 empty slots for them. However, it is still possible that some of them write to the same slot.

from ntm.

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.