1. 08 5月, 2020 1 次提交
    • H
      Add Assert Op (#24280) · 8a1a2af8
      Huihuang Zheng 提交于
      1. To make ProgramTranslator to support `assert` grammar, this PR adds `assert` python API and C++ code. 
      
      2. Fix a bug: graph_pattern_detector.h #include <gtest/gtest_prod.h> but didn't declared dependency at CMakeLists, which can cause single build failure.
      
      3. Refactoring `Formatter` in print_op to make it reusable and reuse the formatter to print in assert op.
      8a1a2af8