Skip to content

String identifier for each layer in the network #3966

Open

Description

@andrewfurey21

Use a string identifier for each layer in the network in FFN, DAGNetwork and RNN.

Activity

  1. rcurtin commented on Aug 27, 2025

    @rcurtin
    Member

    This one is actually important to do, although we haven't gotten to it yet.

  2. FreezB11 commented on Oct 10, 2025

    @FreezB11

    hey there would love to join in to help, i was curious in what way do you need the string identifier to work
    as is it something for the user side we looking so the code writing and reading is easy or internal handling ?

  3. andrewfurey21 commented on Oct 12, 2025

    @andrewfurey21
    MemberAuthor

    hey there would love to join in to help, i was curious in what way do you need the string identifier to work as is it something for the user side we looking so the code writing and reading is easy or internal handling ?

    With DAGNetwork, when adding a layer it returns an id (just an index into a std::vector). The idea with this issue is the user may want to use a std::string instead. This goes for the FFN and RNN classes too.

  4. FreezB11 commented on Oct 12, 2025

    @FreezB11

    Ok so I was thinking we can change the multilayer.h file so tht while adding layer to the network one can give name to which can stored in a hashmap and can be accessed also with this hashmap

  5. FreezB11 commented on Oct 14, 2025

    @FreezB11

    @andrewfurey21 ok so i did some testing with my code and i did get a good thing all the tests pass and no issues with that and all the old code is still compatible just that i have to write a new test for the layer identifiers
    @andrewfurey21 can i make a pr so you can review it ??

  6. AshwathElang0 commented on Mar 26, 2026

    @AshwathElang0

    @FreezB11 @andrewfurey21 is this issue still open? If no one's taking it up, I'd love to raise a PR and try it myself.

  7. AshishGupta-12 commented on Jul 26, 2026

    @AshishGupta-12

    Hi is this still open? Saw the messages above from FreezB11 and AshwathElang0 about it. I am interested in trying this if no one's working on it right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions