We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24e7895 commit ff74d80Copy full SHA for ff74d80
1 file changed
test/NumSharp.Benchmark/np.amin.cs
@@ -12,13 +12,13 @@ namespace NumSharp.Benchmark
12
[MinColumn, MaxColumn, MeanColumn, MedianColumn]
13
public class npamin
14
{
15
- private NumPyGeneric<double> np;
16
- private NDArrayGeneric<double> nd;
+ private NumPy np;
+ private NDArray nd;
17
18
[GlobalSetup]
19
public void Setup()
20
21
- np = new NumPyGeneric<double>();
+ np = new NumPy();
22
nd = np.arange(1000 * 8 * 8 * 8).reshape(1000, 8, 8, 8);
23
}
24
@@ -31,9 +31,9 @@ public void min()
31
[Benchmark]
32
public void amin0axis()
33
34
- var nd2 = new NDArrayGeneric<double>();
+ var nd2 = new NDArray(typeof(double));
35
nd2 = np.arange(1000 * 8 * 8 * 8).reshape(1000, 8, 8, 8);
36
- //var nd3 = nd2.AMin(0);
+ var nd3 = nd2.amin(0);
37
38
39
0 commit comments