@@ -1135,35 +1135,41 @@ def std(
1135
1135
If a tuple of unique integers is given, the standard deviations
1136
1136
are computed over multiple axes. If ``None``, the standard deviation
1137
1137
is computed over the entire array.
1138
+
1138
1139
Default: ``None``.
1139
1140
dtype : {None, dtype}, optional
1140
1141
Type to use in computing the standard deviation. By default, if `a` has
1141
1142
a floating-point data type, the returned array will have the same data
1142
1143
type as `a`. If `a` has a boolean or integral data type, the returned
1143
1144
array will have the default floating point data type for the device
1144
1145
where input array `a` is allocated.
1146
+
1145
1147
Default: ``None``.
1146
1148
out : {None, dpnp.ndarray, usm_ndarray}, optional
1147
1149
Alternative output array in which to place the result. It must have
1148
1150
the same shape as the expected output but the type (of the calculated
1149
1151
values) will be cast if necessary.
1152
+
1150
1153
Default: ``None``.
1151
1154
ddof : {int, float}, optional
1152
1155
Means Delta Degrees of Freedom. The divisor used in calculations is
1153
1156
``N - ddof``, where ``N`` corresponds to the total number of elements
1154
1157
over which the standard deviation is calculated.
1158
+
1155
1159
Default: ``0.0``.
1156
1160
keepdims : {None, bool}, optional
1157
1161
If ``True``, the reduced axes (dimensions) are included in the result
1158
1162
as singleton dimensions, so that the returned array remains compatible
1159
1163
with the input array according to Array Broadcasting rules. Otherwise,
1160
1164
if ``False``, the reduced axes are not included in the returned array.
1165
+
1161
1166
Default: ``False``.
1162
1167
mean : {dpnp.ndarray, usm_ndarray}, optional
1163
1168
Provide the mean to prevent its recalculation. The mean should have
1164
1169
a shape as if it was calculated with ``keepdims=True``.
1165
1170
The axis for the calculation of the mean should be the same as used in
1166
1171
the call to this `std` function.
1172
+
1167
1173
Default: ``None``.
1168
1174
1169
1175
Returns
@@ -1309,35 +1315,41 @@ def var(
1309
1315
Axis or axes along which the variances must be computed. If a tuple
1310
1316
of unique integers is given, the variances are computed over multiple
1311
1317
axes. If ``None``, the variance is computed over the entire array.
1318
+
1312
1319
Default: ``None``.
1313
1320
dtype : {None, dtype}, optional
1314
1321
Type to use in computing the variance. By default, if `a` has a
1315
1322
floating-point data type, the returned array will have the same data
1316
1323
type as `a`. If `a` has a boolean or integral data type, the returned
1317
1324
array will have the default floating point data type for the device
1318
1325
where input array `a` is allocated.
1326
+
1319
1327
Default: ``None``.
1320
1328
out : {None, dpnp.ndarray, usm_ndarray}, optional
1321
1329
Alternative output array in which to place the result. It must have
1322
1330
the same shape as the expected output but the type (of the calculated
1323
1331
values) will be cast if necessary.
1332
+
1324
1333
Default: ``None``.
1325
1334
ddof : {int, float}, optional
1326
1335
Means Delta Degrees of Freedom. The divisor used in calculations is
1327
1336
``N - ddof``, where ``N`` corresponds to the total number of elements
1328
1337
over which the variance is calculated.
1338
+
1329
1339
Default: ``0.0``.
1330
1340
keepdims : {None, bool}, optional
1331
1341
If ``True``, the reduced axes (dimensions) are included in the result
1332
1342
as singleton dimensions, so that the returned array remains compatible
1333
1343
with the input array according to Array Broadcasting rules. Otherwise,
1334
1344
if ``False``, the reduced axes are not included in the returned array.
1345
+
1335
1346
Default: ``False``.
1336
1347
mean : {dpnp.ndarray, usm_ndarray}, optional
1337
1348
Provide the mean to prevent its recalculation. The mean should have
1338
1349
a shape as if it was calculated with ``keepdims=True``.
1339
1350
The axis for the calculation of the mean should be the same as used in
1340
1351
the call to this `var` function.
1352
+
1341
1353
Default: ``None``.
1342
1354
1343
1355
Returns
0 commit comments