We make listing logical & physical devices non-experimental, along with setting the device visibility and logical device configuration. The existing experimental symbols are left exposed to avoid the need to update user code. However, we remove tf.config.experimental_list_devices in favor of tf.config.list_logical_devices. PiperOrigin-RevId: 278576674 Change-Id: I86106308457e8ff8faf77b1f5ed6cb4433d8bc41
24 lines
497 B
Plaintext
24 lines
497 B
Plaintext
path: "tensorflow.config.LogicalDevice"
|
|
tf_class {
|
|
is_instance: "<class \'tensorflow.python.eager.context.LogicalDevice\'>"
|
|
is_instance: "<class \'tensorflow.python.eager.context.LogicalDevice\'>"
|
|
is_instance: "<type \'tuple\'>"
|
|
member {
|
|
name: "device_type"
|
|
mtype: "<type \'property\'>"
|
|
}
|
|
member {
|
|
name: "name"
|
|
mtype: "<type \'property\'>"
|
|
}
|
|
member_method {
|
|
name: "__init__"
|
|
}
|
|
member_method {
|
|
name: "count"
|
|
}
|
|
member_method {
|
|
name: "index"
|
|
}
|
|
}
|