Skip to main content

Small utils for Tensorflow in Python.

Project description

Tensorutils

Small utils for Tensorflow in Python.

Select CPU if not GPU

A function to force Tensorflow to use CPU instead of GPU if this is not present. This function is very easy to use. For example:

from tensorutils import select_cpu_if_not_gpu

select_cpu_if_not_gpu()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tensorutils-0.0.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page