-
Notifications
You must be signed in to change notification settings - Fork 15
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
Refactor conv2d op and add conv2d config support #2054
base: main
Are you sure you want to change the base?
Conversation
a97aece
to
147c7b9
Compare
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.
Awesome! Will take a look on Monday.
c4d787f
to
c64caa0
Compare
72c7bc9
to
3eef128
Compare
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.
This is great, thanks for doing this!
e92eea5
to
c52e15d
Compare
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.
Great change, thanks Joco!
c52e15d
to
85e6bf6
Compare
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.
Looks good from my side as well!
85e6bf6
to
f33a304
Compare
config.weights_dtype = utils::getDataType(op->weight()); | ||
|
||
std::array<uint32_t, 2> kernelSize, stride, padding, dilation; | ||
std::copy_n(op->kernel_size()->begin(), 2, kernelSize.begin()); |
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.
Maybe add some asserts here like we did for convTranspose2D
Refactored the conv2d op to better align with the TTNN interface and improved verification in both the TTIR and TTNN dialects
Added the conv2d_config for the conv2d op in the TTNN dialect. Closes [TTNN Dialect] Conv2d op missing some optional parameters #1681