Closed cclauss closed 6 years ago
Hi, that's actually correct. output isn't defined until the first time step completes. We have the correct logic to check for this.
if t != 0:
output = _output*dont_mask + output*(1 - dont_mask)
else:
output = _output
flake8 testing of https://github.com/NVIDIA/sentiment-discovery on Python 2.7.14
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics