[AutoScheduler] Fix alignment of note (#6181)
authorLiangLiu <liangliu@buaa.edu.cn>
Tue, 4 Aug 2020 01:51:03 +0000 (09:51 +0800)
committerGitHub <noreply@github.com>
Tue, 4 Aug 2020 01:51:03 +0000 (18:51 -0700)
* Fix alignment of note

* trigger CI

Co-authored-by: Lianmin Zheng <lianminzheng@gmail.com>
python/tvm/auto_scheduler/measure.py

index 03ad23e..4d626f7 100644 (file)
@@ -359,8 +359,7 @@ class MeasureErrorNo(object):
     """ Error type for MeasureResult. """
     NO_ERROR = 0              # No error
     INSTANTIATION_ERROR = 1   # Errors happen when apply transform steps from init state
-                              # Errors happen when compiling code on host (e.g. tvm.build)
-    COMPILE_HOST = 2
+    COMPILE_HOST = 2          # Errors happen when compiling code on host (e.g., tvm.build)
     COMPILE_DEVICE = 3        # Errors happen when compiling code on device
                               # (e.g. OpenCL JIT on the device)
     RUNTIME_DEVICE = 4        # Errors happen when run program on device