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 2018/11/07 20:48:03 UTC

[GitHub] frankfliu commented on a change in pull request #13149: Fix Sphinx python docstring error: text contrib module (#12949)

frankfliu commented on a change in pull request #13149: Fix Sphinx python docstring error: text contrib module (#12949)
URL: https://github.com/apache/incubator-mxnet/pull/13149#discussion_r231670909
 
 

 ##########
 File path: python/mxnet/contrib/text/embedding.py
 ##########
 @@ -610,25 +591,6 @@ class FastText(_TokenEmbedding):
         embedding vectors, such as loaded from a pre-trained token embedding file. If None, all the
         tokens from the loaded embedding vectors, such as loaded from a pre-trained token embedding
         file, will be indexed.
-
-
-    Properties
-    ----------
-    token_to_idx : dict mapping str to int
-        A dict mapping each token to its index integer.
-    idx_to_token : list of strs
-        A list of indexed tokens where the list indices and the token indices are aligned.
-    unknown_token : hashable object
-        The representation for any unknown token. In other words, any unknown token will be indexed
-        as the same representation.
-    reserved_tokens : list of strs or None
 
 Review comment:
   Those doesn't really exists in the class. They are copy pasted from parent class.
   

----------------------------------------------------------------
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