Exemple #1
0
 public NDArray amax(int axis, bool keepdims = false, Type dtype = null)
 {
     return(TensorEngine.AMax(this, axis, dtype, keepdims));
 }
Exemple #2
0
 public NDArray amax(Type dtype = null)
 {
     return(TensorEngine.AMax(this, null, dtype?.GetTypeCode(), false));
 }
Exemple #3
0
 /// <summary>
 ///     Return the maximum of an array or maximum along an axis.
 /// </summary>
 /// <typeparam name="T">The expected return type, cast will be performed if necessary.</typeparam>
 /// <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>
 /// <remarks>https://docs.scipy.org/doc/numpy/reference/generated/numpy.amax.html</remarks>
 public T amax <T>() where T : unmanaged
 {
     return(np.asscalar <T>(TensorEngine.AMax(this, null, typeof(T).GetTypeCode(), false)));
 }