tensorflow_cpp 1.0.6
|
Utility functions for TensorFlow backend. More...
#include <stdexcept>
#include <string>
#include <tensorflow/core/platform/env.h>
#include <tensorflow/core/public/session.h>
Go to the source code of this file.
Namespaces | |
namespace | tensorflow_cpp |
Namespace for tensorflow_cpp library. | |
Functions | |
tf::SessionOptions | tensorflow_cpp::makeSessionOptions (const bool allow_growth=true, const double per_process_gpu_memory_fraction=0, const std::string &visible_device_list="") |
Helps to quickly create SessionOptions. | |
tf::Session * | tensorflow_cpp::createSession (const bool allow_growth=true, const double per_process_gpu_memory_fraction=0, const std::string &visible_device_list="") |
Creates a new TensorFlow session. | |
Utility functions for TensorFlow backend.
Definition in file utils.h.