Module: tf.config.experimental
Stay organized with collections
Save and categorize content based on your preferences.
Public API for tf.config.experimental namespace.
Classes
class VirtualDeviceConfiguration
: Configuration class for a logical devices.
Functions
disable_mlir_bridge(...)
: Disables experimental MLIR-Based TensorFlow Compiler Bridge.
enable_mlir_bridge(...)
: Enables experimental MLIR-Based TensorFlow Compiler Bridge.
get_device_policy(...)
: Gets the current device policy.
get_memory_growth(...)
: Get if memory growth is enabled for a PhysicalDevice
.
get_synchronous_execution(...)
: Gets whether operations are executed synchronously or asynchronously.
get_virtual_device_configuration(...)
: Get the virtual device configuration for a tf.config.PhysicalDevice
.
get_visible_devices(...)
: Get the list of visible physical devices.
list_logical_devices(...)
: Return a list of logical devices created by runtime.
list_physical_devices(...)
: Return a list of physical devices visible to the host runtime.
set_device_policy(...)
: Sets the current thread device policy.
set_memory_growth(...)
: Set if memory growth should be enabled for a PhysicalDevice
.
set_synchronous_execution(...)
: Specifies whether operations are executed synchronously or asynchronously.
set_virtual_device_configuration(...)
: Set the logical device configuration for a tf.config.PhysicalDevice
.
set_visible_devices(...)
: Set the list of visible devices.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[],null,["# Module: tf.config.experimental\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------|\n| [TensorFlow 1 version](/versions/r1.15/api_docs/python/tf/config/experimental) |\n\nPublic API for tf.config.experimental namespace.\n\nClasses\n-------\n\n[`class VirtualDeviceConfiguration`](../../tf/config/LogicalDeviceConfiguration): Configuration class for a logical devices.\n\nFunctions\n---------\n\n[`disable_mlir_bridge(...)`](../../tf/config/experimental/disable_mlir_bridge): Disables experimental MLIR-Based TensorFlow Compiler Bridge.\n\n[`enable_mlir_bridge(...)`](../../tf/config/experimental/enable_mlir_bridge): Enables experimental MLIR-Based TensorFlow Compiler Bridge.\n\n[`get_device_policy(...)`](../../tf/config/experimental/get_device_policy): Gets the current device policy.\n\n[`get_memory_growth(...)`](../../tf/config/experimental/get_memory_growth): Get if memory growth is enabled for a `PhysicalDevice`.\n\n[`get_synchronous_execution(...)`](../../tf/config/experimental/get_synchronous_execution): Gets whether operations are executed synchronously or asynchronously.\n\n[`get_virtual_device_configuration(...)`](../../tf/config/get_logical_device_configuration): Get the virtual device configuration for a [`tf.config.PhysicalDevice`](../../tf/config/PhysicalDevice).\n\n[`get_visible_devices(...)`](../../tf/config/get_visible_devices): Get the list of visible physical devices.\n\n[`list_logical_devices(...)`](../../tf/config/list_logical_devices): Return a list of logical devices created by runtime.\n\n[`list_physical_devices(...)`](../../tf/config/list_physical_devices): Return a list of physical devices visible to the host runtime.\n\n[`set_device_policy(...)`](../../tf/config/experimental/set_device_policy): Sets the current thread device policy.\n\n[`set_memory_growth(...)`](../../tf/config/experimental/set_memory_growth): Set if memory growth should be enabled for a `PhysicalDevice`.\n\n[`set_synchronous_execution(...)`](../../tf/config/experimental/set_synchronous_execution): Specifies whether operations are executed synchronously or asynchronously.\n\n[`set_virtual_device_configuration(...)`](../../tf/config/set_logical_device_configuration): Set the logical device configuration for a [`tf.config.PhysicalDevice`](../../tf/config/PhysicalDevice).\n\n[`set_visible_devices(...)`](../../tf/config/set_visible_devices): Set the list of visible devices."]]