Skip to content

Conversation

@tqchen
Copy link
Member

@tqchen tqchen commented Aug 15, 2017

No description provided.

@tqchen tqchen merged commit 0ccc281 into apache:master Aug 15, 2017
vinx13 pushed a commit to vinx13/tvm that referenced this pull request Mar 9, 2022
* [TIR][Schedule] Fix rfactor primitive again

* [MetaSchedule] rewrite a reduction block only when it has reduction block var

* [TIR][Schedule] fix
gigiblender pushed a commit to gigiblender/tvm that referenced this pull request Jan 19, 2023
As tracked by apache#332, this PR is the kickoff part of high-level operator introduction in Relax.

This PR is about the milestone O1 and O2a. Specifically, this PR
* introduces some of common utility functions that the registration and StructInfo inference of each operator will often use.
* introduces unary arithmetic operators: cos, log, negative, sigmoid, sin, sqrt, tanh.
* refactors and introduces binary arithmetic operators: add, divide, floor_divide, multiply, subtract.
* introduces binary comparative operators: equal, greater, greater_equal, less, less_equal, not_equal.

These operators are well tested from three perspective:
P1. the op getter can get correct op by name
P2. their StructInfo inference result are as expected under all kinds of cases
P3. Relax TVMScript parser can parse the scripts with the op inside

For operators in O2a, most operators share almost the same StructInfo inference logic. Therefore, for tests in P2, in each category, not every op is tested in every case. For each case, it is good to have only part of op in this category tested. This is intended not to make overlarge testing file.
junrushao pushed a commit to junrushao/tvm that referenced this pull request Feb 8, 2023
As tracked by apache#332, this PR is the kickoff part of high-level operator introduction in Relax.

This PR is about the milestone O1 and O2a. Specifically, this PR
* introduces some of common utility functions that the registration and StructInfo inference of each operator will often use.
* introduces unary arithmetic operators: cos, log, negative, sigmoid, sin, sqrt, tanh.
* refactors and introduces binary arithmetic operators: add, divide, floor_divide, multiply, subtract.
* introduces binary comparative operators: equal, greater, greater_equal, less, less_equal, not_equal.

These operators are well tested from three perspective:
P1. the op getter can get correct op by name
P2. their StructInfo inference result are as expected under all kinds of cases
P3. Relax TVMScript parser can parse the scripts with the op inside

For operators in O2a, most operators share almost the same StructInfo inference logic. Therefore, for tests in P2, in each category, not every op is tested in every case. For each case, it is good to have only part of op in this category tested. This is intended not to make overlarge testing file.
yelite pushed a commit to yelite/tvm that referenced this pull request Feb 17, 2023
As tracked by apache#332, this PR is the kickoff part of high-level operator introduction in Relax.

This PR is about the milestone O1 and O2a. Specifically, this PR
* introduces some of common utility functions that the registration and StructInfo inference of each operator will often use.
* introduces unary arithmetic operators: cos, log, negative, sigmoid, sin, sqrt, tanh.
* refactors and introduces binary arithmetic operators: add, divide, floor_divide, multiply, subtract.
* introduces binary comparative operators: equal, greater, greater_equal, less, less_equal, not_equal.

These operators are well tested from three perspective:
P1. the op getter can get correct op by name
P2. their StructInfo inference result are as expected under all kinds of cases
P3. Relax TVMScript parser can parse the scripts with the op inside

For operators in O2a, most operators share almost the same StructInfo inference logic. Therefore, for tests in P2, in each category, not every op is tested in every case. For each case, it is good to have only part of op in this category tested. This is intended not to make overlarge testing file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant