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

Do we really need java2cpp ? #142

Open
yupbank opened this issue Mar 21, 2018 · 2 comments
Open

Do we really need java2cpp ? #142

yupbank opened this issue Mar 21, 2018 · 2 comments

Comments

@yupbank
Copy link
Contributor

yupbank commented Mar 21, 2018

Since tensorflow.tensor also support protobuf

https://github.com/tensorflow/tensorflow/blob/754048a0453a04a761e112ae5d99c149eb9910dd/tensorflow/core/framework/tensor.proto

I saw there would be a performance issue here

about 80% of this time is spent on slow data conversions between Spark and TensorFlow

would it worth it to convert data into proto and cache it if needed

@thunterdb
Copy link
Contributor

thunterdb commented Mar 21, 2018 via email

@yupbank
Copy link
Contributor Author

yupbank commented Mar 21, 2018

oh.. nice nice, maybe we can update this https://github.com/databricks/tensorframes#acknowledgements

and... can we cache the tensors? for the k means example would do multiple passes. it would save the convert time

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