1. 17 Jul, 2019 1 commit
  2. 16 Jul, 2019 1 commit
  3. 10 Jul, 2019 5 commits
    • init (#3476) · 273c0280
      lint
      
      update
      
      address comment
      
      comment out breaking test
      雾雨魔理沙 committed
    • [Relay][RFC] Implement type checking for Any (#3221) · 3fb84e2b
      * Implement type checking for Any
      
      Remove code generation related changes
      
      Remove compile changes
      
      Remove more
      
      Remove unification hack
      
      Add some code back that was needed, and clean up test
      
      Refactor test cases
      
      WIP
      
      Implement TypeHint AST
      
      Add test case which should fail
      
      Remove unification changes, and fix bug with let rec
      
      Restore unification for shapes
      
      Improve error reporting while debugging
      
      All examples type check
      
      All examples type check
      
      WIP
      
      First version that works with hints, needs clean up
      
      Remove dead code
      
      Tweaks
      
      Remove type hint
      
      Remove unecessary type hint stuff
      
      Remove more type hints
      
      Clean up
      
      Expose Any expression node
      
      Address CR
      
      Fix
      
      Fix solver
      
      Kill unecessary code
      
      Fix
      
      PyLint
      
      Fix
      
      Relocate loops
      
      Fix license and test
      
      Lint again
      
      Lint again
      
      Fix loops
      
      Fix docstring
      
      Fix template error
      
      Fix compiler issue
      
      Fix compile err
      
      Remove more runtime changes
      
      Restore buffer
      
      Fix segfault
      
      Fix
      
      Fix arange
      
      * Address feedback
      
      * Fix typo
      
      * Fix arange
      
      * Fix op level3
      
      * Fix issue with Python wrapper
      Jared Roesch committed
    • fix test (#3525) · 3f16829a
      雾雨魔理沙 committed
    • [Relay][Testing] Relay-to-Python compilation (#3156) · db841c24
      * First pass at Relay-to-Python converter testing utility
      
      * Indicate astor as a dependency
      
      * Add astor dep to host as well
      
      * Typos and small bugs
      
      * Handle ADTs and matching in Python conversion
      
      * Remove any dependency on ast.parse
      
      * Eliminate unnecessary type var field in Python version of ConstructorValue (already gone on C++ side)
      
      * Update constructor value, fix syntax errors
      
      * Don't forget keywords arg on Call nodes
      
      * Fix some incorrect calls to ast nodes
      
      * Fix more calls, a little more cleaning up
      
      * Missing cases in attr conversion
      
      * Lower op calls instead of running them through interpreter, as in @MarisaKirisame's AoT compiler
      
      * We do still need the module
      
      * Remove changes to op attrs: Will PR separately
      
      * Smoke test and corrections
      
      * More tests and fixes
      
      * Ensure imports are properly global in generated Python code
      
      * Add unit tests for refs
      
      * Add unit test for tuple indexing
      
      * Add unit test for if expression
      
      * Remove astor dependency
      
      * Remove astor from meta.yaml too
      
      * Fix if test and add basic local function test
      
      * Add global function test, refactor earlier tests
      
      * Correct 'clause' field in ADT so Python and C++ field names match
      
      * More fixes and tests for matching and constructors
      
      * Dramatically simplify matching: no need for a thunk
      
      * Improve ref writing test
      
      * Ensure local recursion works
      
      * cleanup
      
      * Add test for global recursion
      
      * Add test for higher-order calls
      
      * Get ops working, add basic tests
      
      * Remove accidentally duplicated test
      
      * More docstrings to appease pylint
      
      * Forgot to fix a test using constructor values
      
      * Reduce optimization level in fusion and fix tuple input to operators
      
      * Test op with tuple output, fix tuple output code
      
      * Add unit test for batch norm
      
      * Add a couple more tricky test cases
      
      * Correct nat constructor to drop unnecessary field
      
      * Fix the op attrs file (accidentally reduced it)
      
      * Address review comments
      
      * Adapt to new ConstructorValue representation (no more runtime dep on module)
      
      * Use pass manager and updated interfaces. Extend module.from_expr to accommodate necessary demands
      
      * Use sequential return value
      
      * Lift out nested conditionals
      
      * Replace triple single quotes with triple double quotes
      
      * Use main variable instead of entry_func
      Steven S. Lyubomirsky committed
  4. 09 Jul, 2019 4 commits
  5. 08 Jul, 2019 1 commit
  6. 06 Jul, 2019 1 commit
  7. 05 Jul, 2019 1 commit
  8. 04 Jul, 2019 1 commit
  9. 03 Jul, 2019 1 commit
    • [Relay] Continuation Passing Style (#3456) · d1eb1229
      * save
      
      add
      
      me find type checker problem
      
      save
      
      save
      
      lint
      
      do
      
      lint
      
      reset ti
      
      add some doc
      
      add failed test case
      
      add recursion for cps
      
      add recursion for cps
      
      fix pytest
      
      lint
      
      save
      
      fix test error
      
      lint
      
      save
      
      fix error
      
      * fix rebase
      
      * fix
      
      * fix test
      
      * lint
      
      * lint
      
      * restore rewriteannotationops
      
      * do
      雾雨魔理沙 committed
  10. 02 Jul, 2019 2 commits
  11. 01 Jul, 2019 2 commits
  12. 28 Jun, 2019 5 commits
  13. 27 Jun, 2019 1 commit
  14. 22 Jun, 2019 2 commits
  15. 20 Jun, 2019 1 commit
  16. 17 Jun, 2019 3 commits
  17. 15 Jun, 2019 1 commit
    • save (#3033) · df88c411
      save
      
      save
      
      save
      
      upstream
      
      lint
      
      remove bad changes
      
      fix build
      
      save
      
      save
      
      please the ci god
      
      Update src/relay/pass/partial_eval.cc
      
      Co-Authored-By: Wei Chen <ipondering.weic@gmail.com>
      
      save
      
      fix test
      
      ci is ANGRY
      
      fix rebase problem
      
      fix rebase
      
      add test
      
      save
      
      save
      
      comment
      雾雨魔理沙 committed
  18. 14 Jun, 2019 1 commit
  19. 13 Jun, 2019 2 commits
  20. 12 Jun, 2019 1 commit
  21. 11 Jun, 2019 3 commits
    • [Relay][Prelude] Use the Relay parser to define the Relay prelude (#3043) · c4245e3d
      * Add ability to load Prelude from disk
      
      * Port over id
      
      * Define compose
      
      * Linting errors and style changes
      
      * Eliminate unnecessary parens
      
      * Rename identType to typeIdent (makes more sense)
      
      * Another unnecessary paren
      
      * Bump the version number for the text format
      
      * Ensure .rly (Relay text files) are permitted
      
      * Correct release number and simplify grammar rule
      
      * Correct load_prelude docstring
      
      * Corrections to _parser
      
      * Add Apache headers to prelude source file
      
      * Remove test_prelude (redundant)
      
      * Correct misleading error message
      
      * Add check that parser is enabled in Prelude
      
      * Commit pre-generated parser, ensure generated files are treated as binaries, and have parser tests always fire
      
      * Permit parser files and git attributes files
      
      * Exclude gitattributes and parser files from apache check
      
      * Another attempt at appeasing Apache audit checker
      
      * Corrections to rat-excludes
      
      * Apache should be truly appeased now
      
      * Ignore Relay parser files by name
      
      * Mark parser files as generated so they don't show up on Github
      
      * Add parsing helper function for tests
      
      * Mark parser files as not detectable
      Jared Roesch committed