* 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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
benchmarking | Loading commit data... | |
test_adt.py | Loading commit data... | |
test_autotvm_task_extraction.py | Loading commit data... | |
test_backend_compile_engine.py | Loading commit data... | |
test_backend_graph_runtime.py | Loading commit data... | |
test_backend_interpreter.py | Loading commit data... | |
test_cmp_op.py | Loading commit data... | |
test_cpp_build_module.py | Loading commit data... | |
test_debug.py | Loading commit data... | |
test_error_reporting.py | Loading commit data... | |
test_expr_functor.py | Loading commit data... | |
test_feature.py | Loading commit data... | |
test_ir_bind.py | Loading commit data... | |
test_ir_module.py | Loading commit data... | |
test_ir_nodes.py | Loading commit data... | |
test_ir_op.py | Loading commit data... | |
test_ir_parser.py | Loading commit data... | |
test_ir_text_printer.py | Loading commit data... | |
test_ir_well_formed.py | Loading commit data... | |
test_op_grad_level1.py | Loading commit data... | |
test_op_grad_level3.py | Loading commit data... | |
test_op_level1.py | Loading commit data... | |
test_op_level10.py | Loading commit data... | |
test_op_level2.py | Loading commit data... | |
test_op_level3.py | Loading commit data... | |
test_op_level4.py | Loading commit data... | |
test_op_level5.py | Loading commit data... | |
test_op_level6.py | Loading commit data... | |
test_param_dict.py | Loading commit data... | |
test_pass_alpha_equal.py | Loading commit data... | |
test_pass_alter_op_layout.py | Loading commit data... | |
test_pass_annotation.py | Loading commit data... | |
test_pass_canonicalize_cast.py | Loading commit data... | |
test_pass_check_kind.py | Loading commit data... | |
test_pass_combine_parallel_conv2d.py | Loading commit data... | |
test_pass_dead_code_elimination.py | Loading commit data... | |
test_pass_eliminate_common_subexpr.py | Loading commit data... | |
test_pass_eta_expand.py | Loading commit data... | |
test_pass_fold_constant.py | Loading commit data... | |
test_pass_fold_scale_axis.py | Loading commit data... | |
test_pass_fuse_ops.py | Loading commit data... | |
test_pass_gradient.py | Loading commit data... | |
test_pass_mac_count.py | Loading commit data... | |
test_pass_manager.py | Loading commit data... | |
test_pass_partial_eval.py | Loading commit data... | |
test_pass_quantize.py | Loading commit data... | |
test_pass_simplify_inference.py | Loading commit data... | |
test_pass_to_a_normal_form.py | Loading commit data... | |
test_pass_to_cps.py | Loading commit data... | |
test_pass_to_graph_normal_form.py | Loading commit data... | |
test_pass_unmatched_cases.py | Loading commit data... | |
test_pass_vars.py | Loading commit data... | |
test_py_converter.py | Loading commit data... | |
test_type_infer.py | Loading commit data... | |
test_type_solver.py | Loading commit data... | |
test_typecall.py | Loading commit data... | |
test_vm.py | Loading commit data... |