-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TOPI] Rename output tensors for better readability #3006
Conversation
df73bf9
to
ac4c182
Compare
Please fix the lint error. @sgrechanik-h please https://docs.tvm.ai/contribute/code_review.html#approve-and-request-changes-explicitly |
@@ -1106,7 +1106,7 @@ inline Tensor arange(const Expr start, | |||
inline Tensor layout_transform(const Tensor& src, | |||
const std::string& src_layout, | |||
const std::string& dst_layout, | |||
const std::string name = "layout_transform", | |||
const std::string name = "T_layout_trans", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const std::string name = "T_layout_trans", | |
const std::string name = "T_layout_transform", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For unambiguous long names, I would like abbreviations.
Thanks @sgrechanik-h , @merrymercy this is now merged! |
Current topi uses "tensor" as the name of output tensors.
This PR changes the names to more meaningful names for easier debugging.
cc @xqdan @sgrechanik-h