Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Fix to word_language_model/word_language_model.py for python3 compatibility #70

Merged
merged 1 commit into from
Nov 30, 2019

Conversation

haojin2
Copy link
Contributor

@haojin2 haojin2 commented May 16, 2019

Without this change the division will return a float number when using python3. batch_size will be used to construct a shape which shall only contain integer numbers. In python3 an error will be raised when that shape is used. With this change batch_size will still be an integer in python3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants