Skip to content

Conversation

@tqchen
Copy link
Member

@tqchen tqchen commented Aug 15, 2017

@Huyuwei @ZihengJiang @Laurawly @icemelon9

  • Moved the padding logic to pad.py
    • Because nested tagging is not yet supported, i removed tag scope from conv/depthwise/pool and directly add tag by passing to compute
  • Improved the declaration of conv/depthwise/pool to not rely on constant shape
  • Correct the naming and input type of stride of depthwise conv

@tqchen tqchen merged commit 7196c79 into apache:master Aug 15, 2017
vinx13 pushed a commit to vinx13/tvm that referenced this pull request Mar 9, 2022
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.
gigiblender pushed a commit to gigiblender/tvm that referenced this pull request Jan 19, 2023
As tracked by apache#332, this PR is the O2d milestone of the high-level operator introduction plan.

This PR introduces a few manipulation operators:
* broadcast_to
* concat
* expand_dims
* flatten
* permute_dims
* reshape
* split
* squeeze
These operators are all well-tested.
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.
junrushao pushed a commit to junrushao/tvm that referenced this pull request Feb 8, 2023
As tracked by apache#332, this PR is the O2d milestone of the high-level operator introduction plan.

This PR introduces a few manipulation operators:
* broadcast_to
* concat
* expand_dims
* flatten
* permute_dims
* reshape
* split
* squeeze
These operators are all well-tested.
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.
yelite pushed a commit to yelite/tvm that referenced this pull request Feb 17, 2023
As tracked by apache#332, this PR is the O2d milestone of the high-level operator introduction plan.

This PR introduces a few manipulation operators:
* broadcast_to
* concat
* expand_dims
* flatten
* permute_dims
* reshape
* split
* squeeze
These operators are all well-tested.
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.

3 participants