Skip to contents

This functions configurates 'tensorflow' to use only cpus.

Usage

set_config_cpu_only()

Value

This function does not return anything. It is used for its side effects.

Note

os$environ$setdefault("CUDA_VISIBLE_DEVICES","-1")

See also

Other Installation and Configuration Tensorflow: set_config_gpu_low_memory(), set_config_os_environ_logger(), set_config_tf_logger()