forked from neo-ai/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Parser] Parser 2.0 part 2 (apache#6162)
* Add code from livestream with JK * Fix errors parsing ResNet * Parse metadata section efficiently and do most of plumbing to resolve metadata section references. * WIP * Change meta reference to an operator * Meta references now work * MetaReference expansion now works * Start working on source map and move diagnostic context * Convert tokenizer and parser to use new machinery * Kill to_json * Fix comment in type_infer.cc * Remove old parser * Rename parser tests and remove old ones * Record span end information * Convert to using spans everywhere * Add span fields back to all Relay constructors * Start passing spans * Pass spans around visitors * Format * Fix * Fix * disable reference lint from string helpers * Fix tokenizer * Fix issue with empty metadata section * Document new span fields and small tweaks * Formatting * Add span doc fields * Add format tweak * Improve errors and fix the semantic version tags in Prelude * Update gradient.rly * Clean up broken spans * Clean up parser tests and turn on previously skipped tests * Update errors to handle skipped cases * Tweak * Tweak * Format * Fix some minor issues with ADT tests * Format * Fix path * WIP * WIP * Fix ir_text_printer * format * Formatted * More formatting * Repair test cases * Fix CI * Retrigger CI
- Loading branch information
Showing
65 changed files
with
1,902 additions
and
7,352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -230,7 +230,3 @@ conda/pkg | |
# nix files | ||
.envrc | ||
*.nix | ||
|
||
# antlr files | ||
*.tokens | ||
*.interp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.