R Deep Learning Cookbook
上QQ阅读APP看书,第一时间看更新

Getting ready

To start modeling, load the tensorflow package in the environment. R loads the default tf environment variable and also the NumPy library from Python in the np variable:

library("tensorflow") # Load Tensorflow 
np <- import("numpy") # Load numpy library