use_compat | R Documentation |
Enables TensorFlow to run under a different API version for compatibility with previous versions. For instance, this is useful to run TensorFlow 1.x code when using TensorFlow 2.x.
use_compat(version = c("v1", "v2"))
version |
The version to activate. Must be |
## Not run:
library(tensorflow)
use_compat("v1")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.