tensorflow (version 1.13.1)

use_compat: Use Compatibility

Description

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.

Usage

use_compat(version = c("v1"))

Arguments

version

The version to activate.

Examples

Run this code
# NOT RUN {
library(tensorflow)
use_compat("v1")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab