@@ -127,7 +127,7 @@ Returns an uninitialized array with the same `shape` as an input array `x`.
127
127
128
128
- ** device** : _ Optional\[ < ; device> ; ] _
129
129
130
- - device on which to place the created array. If ` device ` is ` None ` , the default device must be used, not ` x.device ` . Default: ` None ` .
130
+ - device on which to place the created array. If ` device ` is ` None ` , the output array device must be inferred from ` x ` . Default: ` None ` .
131
131
132
132
#### Returns
133
133
@@ -247,7 +247,7 @@ Returns a new array filled with `fill_value` and having the same `shape` as an i
247
247
248
248
- **device**: _Optional\[ <device> ]_
249
249
250
- - device on which to place the created array. If `device` is `None`, the default device must be used, not `x.device `. Default: `None`.
250
+ - device on which to place the created array. If `device` is `None`, the output array device must be inferred from `x`. Default: `None`.
251
251
252
252
#### Returns
253
253
@@ -370,7 +370,7 @@ Returns a new array filled with ones and having the same `shape` as an input arr
370
370
371
371
- **device**: _Optional\[ <device> ]_
372
372
373
- - device on which to place the created array. If `device` is `None`, the default device must be used, not `x.device `. Default: `None`.
373
+ - device on which to place the created array. If `device` is `None`, the output array device must be inferred from `x`. Default: `None`.
374
374
375
375
#### Returns
376
376
@@ -478,7 +478,7 @@ Returns a new array filled with zeros and having the same `shape` as an input ar
478
478
479
479
- **device**: _Optional\[ <device> ]_
480
480
481
- - device on which to place the created array. If `device` is `None`, the default device must be used, not `x.device `. Default: `None`.
481
+ - device on which to place the created array. If `device` is `None`, the output array device must be inferred from `x`. Default: `None`.
482
482
483
483
#### Returns
484
484
0 commit comments