Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/tensorflow/_api/v2/config/__init__.py: 100%

22 statements  

« prev     ^ index     » next       coverage.py v7.4.0, created at 2024-01-03 07:57 +0000

1# This file is MACHINE GENERATED! Do not edit. 

2# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script. 

3"""Public API for tf.config namespace. 

4""" 

5 

6import sys as _sys 

7 

8from . import experimental 

9from . import optimizer 

10from . import threading 

11from tensorflow.python.eager.context import LogicalDevice 

12from tensorflow.python.eager.context import LogicalDeviceConfiguration 

13from tensorflow.python.eager.context import PhysicalDevice 

14from tensorflow.python.eager.polymorphic_function.eager_function_run import functions_run_eagerly 

15from tensorflow.python.eager.polymorphic_function.eager_function_run import run_functions_eagerly 

16from tensorflow.python.eager.polymorphic_function.quarantine import experimental_functions_run_eagerly 

17from tensorflow.python.eager.polymorphic_function.quarantine import experimental_run_functions_eagerly 

18from tensorflow.python.eager.remote import connect_to_cluster as experimental_connect_to_cluster 

19from tensorflow.python.eager.remote import connect_to_remote_host as experimental_connect_to_host 

20from tensorflow.python.framework.config import get_logical_device_configuration 

21from tensorflow.python.framework.config import get_soft_device_placement 

22from tensorflow.python.framework.config import get_visible_devices 

23from tensorflow.python.framework.config import list_logical_devices 

24from tensorflow.python.framework.config import list_physical_devices 

25from tensorflow.python.framework.config import set_logical_device_configuration 

26from tensorflow.python.framework.config import set_soft_device_placement 

27from tensorflow.python.framework.config import set_visible_devices