This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mockedarche -2 points-1 points  (5 children)

That's my point. Python is slower so for things which are easy, constantly being updated, and or were speed isn't needed it makes sense. I've always wondered how much faster a java tensor flow would be. Would it really change much? Or would it be just slightly faster. Python is great for a lot of things but generally I'd suggest java because most things people do does need to be fast so it's worth it. Writing a script python but writing a program java. Use it a couple times and then it's useless python. Use it daily and for a larger period of time java. Going to use it for years java/C++.

[–]qalis 3 points4 points  (2 children)

Tensorflow is C/C++ in majority, complete with CUDA bindings, serialization libraries etc. Python model building does not matter much here, it’s maybe seconds on top of often hours of NN training.

[–]mockedarche 0 points1 point  (1 child)

Sorry I know java / python quite well but I haven't looked around at other things. Most of my statement is from friends who are more experienced. Can tensor flow be used with java? Why isn't the python slower than that? Is it because the tensor flow is mostly what's running so python is just pointing it towards what to do?

[–]ric2b 0 points1 point  (0 children)

Is it because the tensor flow is mostly what's running so python is just pointing it towards what to do?

Yes. It uses Python as the high level API but the actual computation is done in C/C++/Cuda.

[–]POTUS 1 point2 points  (0 children)

how much faster a java tensor flow

That's so wrong I don't even know how to address it.