You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/01/09 23:29:52 UTC

[GitHub] sandeep-krishnamurthy commented on a change in pull request #13680: [MXNET-1121] Example to demonstrate the inference workflow using RNN

sandeep-krishnamurthy commented on a change in pull request #13680: [MXNET-1121] Example to demonstrate the inference workflow using RNN
URL: https://github.com/apache/incubator-mxnet/pull/13680#discussion_r246582368
 
 

 ##########
 File path: cpp-package/example/inference/README.md
 ##########
 @@ -39,3 +39,48 @@ Alternatively, The script [unit_test_inception_inference.sh](<https://github.com
 ```
 ./unit_test_inception_inference.sh
 ```
+
+### [simple_rnn.cpp](<https://github.com/apache/incubator-mxnet/blob/master/cpp-package/example/inference/simple_rnn.cpp>)
+This example demonstrates sequence prediction workflow with pre-trained RNN model using MXNet C++ API. The purpose of this example is to demonstrate how a pre-trained RNN model can be loaded and used to generate an output sequence using C++ API.
+The example performs following tasks
+- Load the pre-trained RNN model.
+- Load the dictionary file that contains word to index mapping.
+- Convert the input string to vector of indices and padded to match the input data length.
+- Run the forward pass and predict the output string.
+
+The example uses a pre-trained RNN model that is trained with the dataset containing speeches given by Obama.
+The model consists of :
+- Embedding Layer with the size of embedding to be 650
 
 Review comment:
   A simple image will be helpful

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services