You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2019/12/23 18:08:17 UTC
[GitHub] [incubator-tvm] tqchen edited a comment on issue #4569: Some
Windows and MSVC fixes
tqchen edited a comment on issue #4569: Some Windows and MSVC fixes
URL: https://github.com/apache/incubator-tvm/pull/4569#issuecomment-568542825
Sorry I wasn't being clear, I agree that it is important to keep it, however, it might be better to implement it as follows(so condition is only executed once), I don't know if it is possible though
```python
if test_encode_utf8():
py_str = lambda x: x.decode("utf-8")
else:
py_str = lambda x: x.decode(oldencoding)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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