-
Notifications
You must be signed in to change notification settings - Fork 5.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
[CINN] Add Expr<Dim> to describe the shape of Tensor #58602
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
|
||
std::string GetSymbolName() const; | ||
|
||
int64_t GetRealDimSize() const; |
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.
What does it return when it is unknown?
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.
the default value
static constexpr int64_t kDynamic = std::numeric_limits<int64_t>::min();
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.
LGTM
PR types
Others
PR changes
Others
Description
[CINN] Add Expr to describe the shape of Tensor and to support dynamic shape.
In order to pass CI, CINN does not use
pir::shape::SymbolicDimOp
for now.When
pir
is completely integrated, the fake class will be replaced bypir::shape::SymbolicDimOp
.card-77050