Last active
December 8, 2015 22:15
-
-
Save kevinrobinson/492bcdc12280daced9e3 to your computer and use it in GitHub Desktop.
skipgram op
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| REGISTER_OP(“Skipgram”) | |
| .Output(“vocab_word: string”) | |
| .Output(“vocab_freq: int32”) | |
| .Output(“words_per_epoch: int64”) | |
| .Output(“current_epoch: int32”) | |
| .Output(“total_words_processed: int64”) | |
| .Output(“examples: int32”) | |
| .Output(“labels: int32”) | |
| .Attr(“filename: string”) | |
| .Attr(“batch_size: int”) | |
| .Attr(“window_size: int = 5”) | |
| .Attr(“min_count: int = 5”) | |
| .Attr(“subsample: float = 1e-3”) | |
| .Doc(R”doc( | |
| Parses a text file and creates a batch of examples. | |
| ... more documentation here ... | |
| … | |
| )doc”); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment