.NET Standard bindings for Google's TensorFlow for developing, training and deploying Machine Learning models in C# and F#.
3.17k
stars
507
forks
source link
[BUG Report]: NumPy amin and amax function are incorrectly mapped #1151
Closed
OliBomby closed 12 months ago
Description
amin
andamax
are aliases formin
andmax
in numpy. They don't do the same asargmin
orargmax
. Refer to the documentation: https://numpy.org/doc/stable/reference/generated/numpy.amin.html https://numpy.org/doc/stable/reference/generated/numpy.amax.htmlThey should map to
tf.min
andtf.max
Relevant source file: https://github.com/SciSharp/TensorFlow.NET/blob/master/src/TensorFlowNET.Core/NumPy/NumPy.Statistics.cs
Reproduction Steps
use
np.amin
and notice everything go up in flamesKnown Workarounds
No response
Configuration and Other Information