File tree Expand file tree Collapse file tree 4 files changed +8
-16
lines changed Expand file tree Collapse file tree 4 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,9 @@ rather than hard requirements:
81
81
82
82
1. If ``device= `` keyword is specified, that always takes precedence
83
83
84
- 2. If ``device=None ``, then use the device of the input array(s) , if any .
84
+ 2. If ``device=None ``, then use the setting from a context manager , if set .
85
85
86
- 3. If there are no input arrays, then use the setting from a context manager, if set.
87
-
88
- 4. If no context manager was used, then use the global default device/strategy
86
+ 3. If no context manager was used, then use the global default device/strategy
89
87
90
88
.. _device-out-of-scope :
91
89
Original file line number Diff line number Diff line change @@ -81,11 +81,9 @@ rather than hard requirements:
81
81
82
82
1. If ``device= `` keyword is specified, that always takes precedence
83
83
84
- 2. If ``device=None ``, then use the device of the input array(s) , if any .
84
+ 2. If ``device=None ``, then use the setting from a context manager , if set .
85
85
86
- 3. If there are no input arrays, then use the setting from a context manager, if set.
87
-
88
- 4. If no context manager was used, then use the global default device/strategy
86
+ 3. If no context manager was used, then use the global default device/strategy
89
87
90
88
.. _device-out-of-scope :
91
89
Original file line number Diff line number Diff line change @@ -82,11 +82,9 @@ rather than hard requirements:
82
82
83
83
1. If ``device= `` keyword is specified, that always takes precedence
84
84
85
- 2. If ``device=None ``, then use the device of the input array(s) , if any .
85
+ 2. If ``device=None ``, then use the setting from a context manager , if set .
86
86
87
- 3. If there are no input arrays, then use the setting from a context manager, if set.
88
-
89
- 4. If no context manager was used, then use the global default device/strategy
87
+ 3. If no context manager was used, then use the global default device/strategy
90
88
91
89
.. _device-out-of-scope :
92
90
Original file line number Diff line number Diff line change @@ -82,11 +82,9 @@ rather than hard requirements:
82
82
83
83
1. If ``device= `` keyword is specified, that always takes precedence
84
84
85
- 2. If ``device=None ``, then use the device of the input array(s) , if any .
85
+ 2. If ``device=None ``, then use the setting from a context manager , if set .
86
86
87
- 3. If there are no input arrays, then use the setting from a context manager, if set.
88
-
89
- 4. If no context manager was used, then use the global default device/strategy
87
+ 3. If no context manager was used, then use the global default device/strategy
90
88
91
89
.. _device-out-of-scope :
92
90
You can’t perform that action at this time.
0 commit comments