comaniac commented on a change in pull request #4644: [Relay][AutoTVM] Relay op strategy URL: https://github.com/apache/incubator-tvm/pull/4644#discussion_r380341368
########## File path: python/tvm/autotvm/database.py ########## @@ -167,6 +167,7 @@ def filter(self, func): current = self.get(key) try: records = [decode(x) for x in current.split(RedisDatabase.MAGIC_SPLIT)] + records = list(filter(None, records)) Review comment: Better to use the similar logic as above and avoid `filter`. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services