@@ -908,8 +908,8 @@ Reductions
908908 :Parameter: *x * - symbolic Tensor (or compatible)
909909 :Parameter: *axis * - axis or axes along which to compute the maximum
910910 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
911- left in the result as dimensions with size one. With this option, the result
912- will broadcast correctly against the original tensor.
911+ left in the result as dimensions with size one. With this option, the result
912+ will broadcast correctly against the original tensor.
913913 :Returns: maximum of *x * along *axis *
914914
915915 axis can be:
@@ -922,8 +922,8 @@ Reductions
922922 :Parameter: *x * - symbolic Tensor (or compatible)
923923 :Parameter: *axis * - axis along which to compute the index of the maximum
924924 :Parameter: *keepdims * - (boolean) If this is set to True, the axis which is reduced is
925- left in the result as a dimension with size one. With this option, the result
926- will broadcast correctly against the original tensor.
925+ left in the result as a dimension with size one. With this option, the result
926+ will broadcast correctly against the original tensor.
927927 :Returns: the index of the maximum value along a given axis
928928
929929 if ``axis == None ``, `argmax ` over the flattened tensor (like NumPy)
@@ -933,8 +933,8 @@ Reductions
933933 :Parameter: *x * - symbolic Tensor (or compatible)
934934 :Parameter: *axis * - axis along which to compute the maximum and its index
935935 :Parameter: *keepdims * - (boolean) If this is set to True, the axis which is reduced is
936- left in the result as a dimension with size one. With this option, the result
937- will broadcast correctly against the original tensor.
936+ left in the result as a dimension with size one. With this option, the result
937+ will broadcast correctly against the original tensor.
938938 :Returns: the maximum value along a given axis and its index.
939939
940940 if ``axis == None ``, `max_and_argmax ` over the flattened tensor (like NumPy)
@@ -944,8 +944,8 @@ Reductions
944944 :Parameter: *x * - symbolic Tensor (or compatible)
945945 :Parameter: *axis * - axis or axes along which to compute the minimum
946946 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
947- left in the result as dimensions with size one. With this option, the result
948- will broadcast correctly against the original tensor.
947+ left in the result as dimensions with size one. With this option, the result
948+ will broadcast correctly against the original tensor.
949949 :Returns: minimum of *x * along *axis *
950950
951951 `axis ` can be:
@@ -958,8 +958,8 @@ Reductions
958958 :Parameter: *x * - symbolic Tensor (or compatible)
959959 :Parameter: *axis * - axis along which to compute the index of the minimum
960960 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
961- left in the result as dimensions with size one. With this option, the result
962- will broadcast correctly against the original tensor.
961+ left in the result as dimensions with size one. With this option, the result
962+ will broadcast correctly against the original tensor.
963963 :Returns: the index of the minimum value along a given axis
964964
965965 if ``axis == None ``, `argmin ` over the flattened tensor (like NumPy)
@@ -980,8 +980,8 @@ Reductions
980980 This default dtype does _not_ depend on the value of "acc_dtype".
981981
982982 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
983- left in the result as dimensions with size one. With this option, the result
984- will broadcast correctly against the original tensor.
983+ left in the result as dimensions with size one. With this option, the result
984+ will broadcast correctly against the original tensor.
985985
986986 :Parameter: *acc_dtype * - The dtype of the internal accumulator.
987987 If None (default), we use the dtype in the list below,
@@ -1015,8 +1015,8 @@ Reductions
10151015 This default dtype does _not_ depend on the value of "acc_dtype".
10161016
10171017 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
1018- left in the result as dimensions with size one. With this option, the result
1019- will broadcast correctly against the original tensor.
1018+ left in the result as dimensions with size one. With this option, the result
1019+ will broadcast correctly against the original tensor.
10201020
10211021 :Parameter: *acc_dtype * - The dtype of the internal accumulator.
10221022 If None (default), we use the dtype in the list below,
@@ -1031,16 +1031,16 @@ Reductions
10311031 as we need to handle 3 different cases: without zeros in the
10321032 input reduced group, with 1 zero or with more zeros.
10331033
1034- This could slow you down, but more importantly, we currently
1035- don't support the second derivative of the 3 cases. So you
1036- cannot take the second derivative of the default prod().
1034+ This could slow you down, but more importantly, we currently
1035+ don't support the second derivative of the 3 cases. So you
1036+ cannot take the second derivative of the default prod().
10371037
1038- To remove the handling of the special cases of 0 and so get
1039- some small speed up and allow second derivative set
1040- ``no_zeros_in_inputs `` to ``True ``. It defaults to ``False ``.
1038+ To remove the handling of the special cases of 0 and so get
1039+ some small speed up and allow second derivative set
1040+ ``no_zeros_in_inputs `` to ``True ``. It defaults to ``False ``.
10411041
1042- **It is the user responsibility to make sure there are no zeros
1043- in the inputs. If there are, the grad will be wrong. **
1042+ **It is the user responsibility to make sure there are no zeros
1043+ in the inputs. If there are, the grad will be wrong. **
10441044
10451045 :Returns: product of every term in *x * along *axis *
10461046
@@ -1058,13 +1058,13 @@ Reductions
10581058 done in float64 (acc_dtype would be float64 by default),
10591059 but that result will be casted back in float32.
10601060 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
1061- left in the result as dimensions with size one. With this option, the result
1062- will broadcast correctly against the original tensor.
1061+ left in the result as dimensions with size one. With this option, the result
1062+ will broadcast correctly against the original tensor.
10631063 :Parameter: *acc_dtype * - The dtype of the internal accumulator of the
10641064 inner summation. This will not necessarily be the dtype of the
10651065 output (in particular if it is a discrete (int/uint) dtype, the
10661066 output will be in a float type). If None, then we use the same
1067- rules as :func: `sum() `.
1067+ rules as :func: `sum `.
10681068 :Returns: mean value of *x * along *axis *
10691069
10701070 `axis ` can be:
@@ -1077,8 +1077,8 @@ Reductions
10771077 :Parameter: *x * - symbolic Tensor (or compatible)
10781078 :Parameter: *axis * - axis or axes along which to compute the variance
10791079 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
1080- left in the result as dimensions with size one. With this option, the result
1081- will broadcast correctly against the original tensor.
1080+ left in the result as dimensions with size one. With this option, the result
1081+ will broadcast correctly against the original tensor.
10821082 :Returns: variance of *x * along *axis *
10831083
10841084 `axis ` can be:
@@ -1091,8 +1091,8 @@ Reductions
10911091 :Parameter: *x * - symbolic Tensor (or compatible)
10921092 :Parameter: *axis * - axis or axes along which to compute the standard deviation
10931093 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
1094- left in the result as dimensions with size one. With this option, the result
1095- will broadcast correctly against the original tensor.
1094+ left in the result as dimensions with size one. With this option, the result
1095+ will broadcast correctly against the original tensor.
10961096 :Returns: variance of *x * along *axis *
10971097
10981098 `axis ` can be:
@@ -1105,8 +1105,8 @@ Reductions
11051105 :Parameter: *x * - symbolic Tensor (or compatible)
11061106 :Parameter: *axis * - axis or axes along which to apply 'bitwise and'
11071107 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
1108- left in the result as dimensions with size one. With this option, the result
1109- will broadcast correctly against the original tensor.
1108+ left in the result as dimensions with size one. With this option, the result
1109+ will broadcast correctly against the original tensor.
11101110 :Returns: bitwise and of *x * along *axis *
11111111
11121112 `axis ` can be:
@@ -1119,8 +1119,8 @@ Reductions
11191119 :Parameter: *x * - symbolic Tensor (or compatible)
11201120 :Parameter: *axis * - axis or axes along which to apply bitwise or
11211121 :Parameter: *keepdims * - (boolean) If this is set to True, the axes which are reduced are
1122- left in the result as dimensions with size one. With this option, the result
1123- will broadcast correctly against the original tensor.
1122+ left in the result as dimensions with size one. With this option, the result
1123+ will broadcast correctly against the original tensor.
11241124 :Returns: bitwise or of *x * along *axis *
11251125
11261126 `axis ` can be:
@@ -1745,7 +1745,7 @@ Linear Algebra
17451745 when indexed, so that each returned argument has the same shape.
17461746 The dimensions and number of the output arrays are equal to the
17471747 number of indexing dimensions. If the step length is not a complex
1748- number, then the stop is not inclusive.
1748+ number, then the stop is not inclusive.
17491749
17501750 Example:
17511751
0 commit comments