Skip to content

Conversation

@lukeyeager
Copy link
Contributor

When setting the mean, assert that it is either one pixel or an array with
shape equal to the input data size.

(Previously #1931)

When setting the mean, assert that it is either one pixel or an array with
shape equal to the input data size.
@shelhamer
Copy link
Member

Thanks for the descriptive check -- and the rebase.

shelhamer added a commit that referenced this pull request Mar 4, 2015
@shelhamer shelhamer merged commit c0bc17c into BVLC:master Mar 4, 2015
@lukeyeager lukeyeager deleted the image_mean branch March 4, 2015 17:59
shelhamer added a commit that referenced this pull request Mar 5, 2015
follow-up to #2031: check that the input and mean channels are
compatible in the broadcast channels case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants