Learn R Programming

gnn (version 0.0-4)

TensorFlow_available: A Simple Check whether TensorFlow is Available

Description

A simple (and restrictive) check whether TensorFlow is available.

Usage

TensorFlow_available()

Arguments

Value

logical indicating whether TensorFlow was found.

Author

Marius Hofert

Details

Essentially calls "pip list | grep tensorflow" via system(). Only available on non-Windows operating systems; returns FALSE on Windows.

Examples

Run this code
library(gnn) # for being standalone

TensorFlow_available()

Run the code above in your browser using DataLab