Skip to content
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

Overlapping blocks #87

Closed
flare9x opened this issue May 1, 2019 · 4 comments
Closed

Overlapping blocks #87

flare9x opened this issue May 1, 2019 · 4 comments

Comments

@flare9x
Copy link

flare9x commented May 1, 2019

In convolution neural networks the block moves in step sizes (overlaps). It would be a useful feature to have the option to split a matrix by overlapping block sizes:

http://cs231n.github.io/convolutional-networks/

image

@dlfivefifty
Copy link
Member

Could you explain a bit more?

@flare9x
Copy link
Author

flare9x commented May 1, 2019

http://deeplearning.stanford.edu/wiki/index.php/File:Convolution_schematic.gif

See the left image yellow box moves in 1 step increments - it moves horizontal at 1 step increments and once passed to end of the image (array) steps down 1 row and begins sliding through the image to the end.

One can specify step sizes... this image is 1 step increments.

So was thinking to have a feature like that - where the matrix could be populated that way - it might become very big though. Not sure ow feasible but wanted to think about it here.

@dlfivefifty
Copy link
Member

I would need to see this in actual mathematics to understand what you want and how BlockArrays.jl fits in.

@flare9x
Copy link
Author

flare9x commented May 2, 2019

https://discourse.julialang.org/t/what-is-julias-im2col/14066

This type of arrangement solves the Q.

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

No branches or pull requests

2 participants