File tree Expand file tree Collapse file tree 5 files changed +20
-10
lines changed Expand file tree Collapse file tree 5 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,11 @@ 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 setting from a context manager , if set .
84
+ 2. If ``device=None ``, then use the device of the input array(s) , if any .
85
85
86
- 3. If no context manager was used, then use the global default device/strategy
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
87
89
88
90
.. _device-out-of-scope :
89
91
Original file line number Diff line number Diff line change @@ -81,9 +81,11 @@ 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 setting from a context manager , if set .
84
+ 2. If ``device=None ``, then use the device of the input array(s) , if any .
85
85
86
- 3. If no context manager was used, then use the global default device/strategy
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
87
89
88
90
.. _device-out-of-scope :
89
91
Original file line number Diff line number Diff line change @@ -82,9 +82,11 @@ 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 setting from a context manager , if set .
85
+ 2. If ``device=None ``, then use the device of the input array(s) , if any .
86
86
87
- 3. If no context manager was used, then use the global default device/strategy
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
88
90
89
91
.. _device-out-of-scope :
90
92
Original file line number Diff line number Diff line change @@ -82,9 +82,11 @@ 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 setting from a context manager , if set .
85
+ 2. If ``device=None ``, then use the device of the input array(s) , if any .
86
86
87
- 3. If no context manager was used, then use the global default device/strategy
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
88
90
89
91
.. _device-out-of-scope :
90
92
Original file line number Diff line number Diff line change @@ -82,9 +82,11 @@ 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 setting from a context manager , if set .
85
+ 2. If ``device=None ``, then use the device of the input array(s) , if any .
86
86
87
- 3. If no context manager was used, then use the global default device/strategy
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
88
90
89
91
.. _device-out-of-scope :
90
92
You can’t perform that action at this time.
0 commit comments