Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library(tensorflow)
- sess <- tf$Session()
- x <- tf$constant(8)
- y <- tf$constant(5)
- tf_add <- x + y
- writer <- tf$summary$FileWriter("path/to/log-directory", sess$graph)
- sess$run(tf_add)
- sess$close()
- tensorboard(log_dir = "path/to/log-directory")
Add Comment
Please, Sign In to add comment