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
thrownewArgumentException($"{nameof(means)} and {nameof(stdevs)} must be the same length in call to Normalize");
18
-
if(means.Length!=1&&means.Length!=3)
19
-
thrownewArgumentException($"Since they correspond to the number of channels in an image, {nameof(means)} and {nameof(stdevs)} must both be either 1 or 3 long");
20
16
this.means=means;
21
17
this.stdevs=stdevs;
22
18
this.inplace=inplace;
@@ -31,27 +27,7 @@ public Tensor call(Tensor input)
31
27
privatereadonlydouble[]means;
32
28
privatereadonlydouble[]stdevs;
33
29
privatereadonlyboolinplace;
34
-
booldisposedValue;
35
-
36
-
protectedvirtualvoidDispose(booldisposing)
37
-
{
38
-
if(!disposedValue){
39
-
disposedValue=true;
40
-
}
41
-
}
42
-
43
-
~Normalize()
44
-
{
45
-
// Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method
46
-
Dispose(disposing:false);
47
-
}
48
-
49
-
publicvoidDispose()
50
-
{
51
-
// Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method
0 commit comments