You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added np.std, more performance optimization and bug fixes
- Performance optimization for scalar-related cloning and math-ops
- Fixed various issues with all DefaultEngine's reduction methods.
- Revamped expand_dims
- Added a faster logic for Default.Cast when casting a scalar.
/// Return the maximum of an array or maximum along an axis.
17
+
/// </summary>
18
+
/// <param name="axis">Axis or axes along which to operate.</param>
19
+
/// <param name="keepdims">If this is set to True, the axes which are reduced are left in the result as dimensions with size one. With this option, the result will broadcast correctly against the input array.</param>
20
+
/// <param name="dtype">the type expected as a return, null will remain the same dtype.</param>
21
+
/// <returns>Maximum of a. If axis is None, the result is a scalar value. If axis is given, the result is an array of dimension a.ndim - 1.</returns>
/// Return the maximum of an array or maximum along an axis.
32
+
/// </summary>
33
+
/// <param name="axis">Axis or axes along which to operate.</param>
34
+
/// <param name="keepdims">If this is set to True, the axes which are reduced are left in the result as dimensions with size one. With this option, the result will broadcast correctly against the input array.</param>
35
+
/// <param name="dtype">the type expected as a return, null will remain the same dtype.</param>
36
+
/// <returns>Maximum of a. If axis is None, the result is a scalar value. If axis is given, the result is an array of dimension a.ndim - 1.</returns>
@@ -39,7 +39,7 @@ public static NDArray subtract(in NDArray x1, in NDArray x2)
39
39
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
@@ -51,7 +51,7 @@ public static NDArray sum(in NDArray a)
51
51
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
@@ -63,7 +63,7 @@ public static NDArray sum(in NDArray a, int axis)
63
63
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
@@ -75,7 +75,7 @@ public static NDArray sum(in NDArray a, bool keepdims)
75
75
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
@@ -87,7 +87,7 @@ public static NDArray sum(in NDArray a, int? axis, bool keepdims)
87
87
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
@@ -99,7 +99,7 @@ public static NDArray sum(in NDArray a, int? axis, bool keepdims, Type dtype)
99
99
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
@@ -111,7 +111,7 @@ public static NDArray sum(in NDArray a, int? axis, bool keepdims, NPTypeCode? ty
111
111
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
@@ -122,7 +122,7 @@ public static NDArray sum(in NDArray a, int? axis, Type dtype)
122
122
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
@@ -134,7 +134,7 @@ public static NDArray sum(in NDArray a, int? axis, NPTypeCode? typeCode)
134
134
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
@@ -146,7 +146,7 @@ public static NDArray sum(in NDArray a, Type dtype)
146
146
/// <returns>An array with the same shape as a, with the specified axis removed. If a is a 0-d array, or if axis is None, a scalar is returned. If an output array is specified, a reference to out is returned.</returns>
0 commit comments