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

why batched_weighted_sum? #6

Open
joyousrabbit opened this issue May 9, 2017 · 2 comments
Open

why batched_weighted_sum? #6

joyousrabbit opened this issue May 9, 2017 · 2 comments

Comments

@joyousrabbit
Copy link

Hello, why use batched_weighted_sum instead of direct dot on all items?

@mhattingpete
Copy link

I believe its due to a dot product with large vectors could cause memory overflow so instead the use a way of looping through batches of data and computing the dot product

@ben-arnao
Copy link

Yea the output is the same regardless of batch size, so probably what @mhattingpete said

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

3 participants