Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Is there a better way to process tensors than looping? #78

Open
ryanaleksander opened this issue Jul 31, 2020 · 0 comments
Open

Is there a better way to process tensors than looping? #78

ryanaleksander opened this issue Jul 31, 2020 · 0 comments

Comments

@ryanaleksander
Copy link

As of right now I can't find a way to process tensors efficiently as numpy can. I'm deploying a deeplab model onto an Android app, and the output tensor has the shape of [1x21x400x400]. With numpy i would just do np.argmax(out, axis=1), but on Android, I have to loop through the entire thing which is painfully slow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant