Skip to content

LSTM to CPP, who has good method? #37

Open

Description

@ttfeng42
No description provided.

Activity

  1. MatthewScholefield commented on Sep 11, 2018

    @MatthewScholefield

    Of relevance: #1

  2. sidharth1010 commented on May 20, 2019

    @sidharth1010

    I have an LSTM model built with Keras framework. This model is for the next word prediction based on the previous text entered by the user.
    So I have written a function in python which is loading this Keras model and a tokenizer file(for word-sequences) into it and using inbuilt functions like predict_classes and pad_sequences to make next word predictions.
    I have to convert this function to C++, so can anyone help me out how to use this repo for my use. I tried using Cython but that didn't help as it converts a 52 line code in Python to 4000 line code in C++ which is not convenient. It is inconvenient to debug the 4000 line of code without knowing its relevance.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions