william

Keep Calm and Markdown.

R: 安装 tensorflow

1
2
3
4
5
6
7
8
Sys.setenv(TENSORFLOW_PYTHON="/home/fl/anaconda3/bin")
devtools::install_github("rstudio/tensorflow")
devtools::install_github("rstudio/keras")

library(tensorflow)

hello <- tf$constant("Hello")
print(hello)
0%