1. 01 Apr, 2019 1 commit
  2. 31 Mar, 2019 1 commit
  3. 29 Mar, 2019 1 commit
  4. 26 Mar, 2019 1 commit
  5. 23 Mar, 2019 1 commit
  6. 20 Mar, 2019 1 commit
  7. 14 Mar, 2019 1 commit
  8. 13 Mar, 2019 2 commits
  9. 12 Mar, 2019 2 commits
    • [Relay] Pass manager (#2546) · abe6f770
      * initial commit
      
      * add python frontend and module tests
      
      * add unit tests for function pass and optimize interface
      
      * add ExprPass
      
      * remove PassState and pass context for run
      
      * add required_passes
      
      * return module
      
      * remove move
      
      * fix minor reviews
      
      * remove optimizer, optimizer->pass_manager, make pass a the base class of all
      
      * remove deleted files
      
      * move resolvedependency to sequential pass, use ir_pass namespace
      
      * add todo
      
      * add disabled passes in sequetialpass
      
      * fix minor
      
      * fix currying doc
      
      * remove pass_kind from passnode
      
      * remove pass kind from test
      
      * fix doc
      
      * fix per @tqchen's comments
      
      * remove pass_manager.py create separate classes
      
      * simplify pass_func
      
      * inline using passfunc
      
      * update doc
      
      * disable test_quantize_pass for now
      
      * create PassInfo class to contain the meta data
      
      * flatten passinfo for interface
      
      * retrigger ci
      
      * remove required method
      
      * make Pass python class lighter
      
      * create pass -> decorator
      
      * make the api consistent for all classes
      Zhi committed
  10. 11 Mar, 2019 2 commits
  11. 10 Mar, 2019 1 commit
  12. 06 Mar, 2019 2 commits
  13. 05 Mar, 2019 1 commit
  14. 03 Mar, 2019 1 commit
  15. 02 Mar, 2019 1 commit
  16. 01 Mar, 2019 1 commit
  17. 28 Feb, 2019 1 commit
    • [Lang] Layout in TVM node system (#2509) · ee79703c
      * move layout.h & layout.cc from relay to tvm
      
      * change ConvertLayout in relay to bijectiveLayout->Forward/backward
      
      * add first test case
      
      * add LayoutAxis
      
      * add LayoutAxis struct and compiles
      
      * simplify BijectiveLayout rule consturct
      
      * polish func name for Layout, move impl to .cc, remove Layout::defined(), add defined() checker
      
      * partially add layout py support
      
      * add layout test cases
      
      * add doc for tvm.layout & tvm.bijective_layout
      
      * fix lint
      
      * fix lint
      
      * fix layout name generation bug
      
      * fix layout typo
      
      * address comments and add topi.layout_transform
      
      * layout.h->data_layout.h, test_lang_layout.py->test_lang_data_layout.py
      Yizhi Liu committed
  18. 27 Feb, 2019 2 commits
  19. 23 Feb, 2019 1 commit
  20. 22 Feb, 2019 1 commit
  21. 21 Feb, 2019 1 commit
  22. 20 Feb, 2019 2 commits
  23. 19 Feb, 2019 1 commit
  24. 16 Feb, 2019 1 commit
    • [Relay] Algebraic data types (#2442) · 2ae3124f
      * First pass on ADTs
      
      * Add doc string for tag field
      
      * Visit constructors in TypeVisitor for TypeData
      
      * Add to description of type call
      
      * Add type call to type solving and unification
      
      * Make type mutator for typecall consistent with others (only create new node if there's a change)
      
      * Ensure kindchecking can handle type calls and typedata
      
      * Fix bad nesting in module constructor
      
      * Correctly construct call in typecall test
      
      * Add call override for ordinary vars (do we want this?)
      
      * Remove generalization hack from type inference because it was breaking ADT constructors
      
      * Check that there are no free type vars in exprs after inferring type
      
      * Free var checks need module because of ADT constructors
      
      * Typecall test can't have unbound type var, make it global
      
      * Uncomment tmap test and remove comments about failing to infer ret type; those work now
      
      * Put in dummy visits for ADTs in graph runtime codegen to placate pylint
      
      * Fix Relay type infer test module constructor
      
      * Mark override for TypeCallNode in type solver
      
      * Ensure free vars check treats patern vars as bound
      
      * Run interpreter in more ADT test cases
      
      * Refactor kind check to return the kind, like typechecking
      
      * Fix invalid typecall in test
      
      * Add kind check to type inference, do not use nulls in func_type_annotation()!
      
      * Redundant whitespace
      
      * Make TypeData a separate kind
      
      * Make ADT handles a separate kind too, document calling convention better
      
      * Remove nats and tree from prelude, move to test, document prelude
      
      * Restore and document nat and tree to prelude, add more tree tests
      
      * Add alpha equality tests for match cases, fix variable binding bug
      
      * Add more kind check tests for ADTs
      
      * Add more tests for finding free or bound vars in match exprs
      
      * Add unification tests for type call
      
      * Update main() for alpha equality tests
      
      * Add simple type inference test cases for match exprs and ADT constructors
      
      * Add more ADT interpreter tests
      
      * Allow incomplete types when typechecking match cases
      
      * Type inference for pattern vars should use the type annotation if it's there
      
      * Two more specific test cases for ADT matching
      
      * Add option ADT to prelude
      
      * Fix broken reference to kind enum
      
      * Fix rebase snags
      
      * Do not attach checked types to constructors
      
      * More docstrings for module fields
      
      * Use proper wrapper for indexing into module type data
      
      * checked_type for constructors is not populated
      
      * Expand type call docstring
      
      * Rename PatternConstructor con field
      
      * Use error reporter for pattern constructor case
      
      * Condense error reporting in kind check, use error reporter
      
      * Expand docstrings and rename ADT fields
      
      * Rename 'option' ADT to 'optional' for consistency with Python
      
      * Add various list iterators and utility functions to prelude
      
      * Add smoke tests for new iterators in prelude
      
      * Add concat to prelude
      
      * Add smoke test for concat
      
      * Correct docstrings in prelude
      
      * Ensure that type defs are written in module initialization
      
      * Various requested renamings
      
      * Correct rebase snags
      
      * Add kind check tests for ref types
      
      * Update the main() for kind checking tests
      Steven S. Lyubomirsky committed
  25. 15 Feb, 2019 1 commit
  26. 14 Feb, 2019 1 commit
  27. 04 Feb, 2019 1 commit
  28. 03 Feb, 2019 1 commit
  29. 31 Jan, 2019 1 commit
  30. 30 Jan, 2019 1 commit
  31. 29 Jan, 2019 1 commit
  32. 25 Jan, 2019 1 commit
  33. 24 Jan, 2019 1 commit
  34. 17 Jan, 2019 1 commit