-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
segmented_sum #32
Comments
Thanks a lot. I am curious how flux will look like with it. |
For those interested in, it can be easily added as multiplication with sparse vector:
or slightly faster version
|
FWIW, while I don't know your use case exactly, this seems like a fairly strange construction to me. Often TensorFlow has things like this because it can't handle things like variable-length lists of tensors. So in Flux it might be possible to just use an array of matrices, and map the appropriate function over that list. |
Hello,
is there a simple way, how I can use segmented_sum in the model? I would like to use Flux to implement multi-instance learning problems as described in
Using Neural Network Formalism to Solve Multiple-Instance Problems.
Thank you very much for help.
Tomas
The text was updated successfully, but these errors were encountered: