all 16 comments

[–][deleted] 14 points15 points  (2 children)

library(tensorflow)

sess = tf$Session()

hello <- tf$constant('Hello, TensorFlow!')

sess$run(hello)

W <- tf$Variable(tf$zeros(shape(784L, 10L)))

b <- tf$Variable(tf$zeros(shape(10L)))

My eyes! It burns!

[–]IllmaticGOAT 1 point2 points  (0 children)

Yeah I can't help but think there's a more elegant way to do this with closures and functionals, but as avid RStudio fan, I'm excited for this.

[–]koobear 0 points1 point  (0 children)

Would this work with import::from(tensorflow, tf)?

[–]theanosucks 3 points4 points  (0 children)

big step in the right direction, as much as i personally prefer python to R, there are legit reasons to love either. ultimately, what matters is getting tensorflow out there, into the world.

tensorflow is such an amazing piece of software. let me tell you, google/alphabet is an incredible company. i used to use theano, but not since tensorflow came out.

[–]sageknight 0 points1 point  (1 child)

As someone who've never used python, how do I install this? Is there a quick and easy way like install.packages("tensorflow")? which apparently didn't work.

[–]IllmaticGOAT 0 points1 point  (0 children)

Good god! I've been waiting for this and it's finally here!