Skip to content

Conversation

@AlirezaSaberi
Copy link
Contributor

class_correct[i] is a single cell and there is no need to be wrapped in np.sum(). I tested the output with the change to make sure it works.

class_correct[i] is a single cell and there is no need to be wrapped in np.sum(). I tested the output with the change to make sure it works.
@AlirezaSaberi AlirezaSaberi requested a review from cadeban January 19, 2020 19:03
@abhiojha8 abhiojha8 self-assigned this Mar 30, 2021
@abhiojha8 abhiojha8 added the enhancement New feature or request label Mar 30, 2021
@abhiojha8 abhiojha8 merged commit ee04a4b into udacity:master Mar 30, 2021
mxagar pushed a commit to mxagar/deep-learning-v2-pytorch that referenced this pull request Jul 1, 2022
fix: Remove Redundant np.sum() on a single cell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants