Skip to content

Comments

Add missing definitions of inputShape to conv2d algorithms#680

Merged
fdwr merged 1 commit intowebmachinelearning:mainfrom
inexorabletash:fix-inputshape-vars
May 6, 2024
Merged

Add missing definitions of inputShape to conv2d algorithms#680
fdwr merged 1 commit intowebmachinelearning:mainfrom
inexorabletash:fix-inputshape-vars

Conversation

@inexorabletash
Copy link
Contributor

@inexorabletash inexorabletash commented May 6, 2024

The algorithms for both conv2d() and convTranspose2d() used an inputShape local variable, but never defined it. Oops! The meaning was obvious, but we do need to define and initialize it to keep tooling happy.


Preview | Diff

The algorithms for both conv2d() and convTranspose2d() used an
`inputShape` local variable, but never defined it. Oops! The meaning
was obvious, but we do need to define and initialize it to keep
tooling happy.
@inexorabletash inexorabletash requested review from fdwr and huningxin May 6, 2024 18:39
@inexorabletash
Copy link
Contributor Author

Easy one. Please take a look and merge if it's okay, @fdwr and @huningxin ? I'm marking this "editorial" because it doesn't change the semantics of the API even though it touches an algorithm, and the meaning was obvious.

FYI this glitch was revealed by my "work in progress" lint tool, after I fixed an HTML parsing glitch while investigating #679

@inexorabletash
Copy link
Contributor Author

Note: failed checks due to the issue fixed in #679

Copy link
Collaborator

@fdwr fdwr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 TY.

@huningxin : This one looks straight forward enough that I'll just merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants