Optimized version of 32F Norm function demands bigger MaxErr value, because it calculates norm in floats instead of double.
This commit is contained in:
parent
d55a56d12d
commit
03002fff54
@ -1246,7 +1246,11 @@ struct NormOp : public BaseElemWiseOp
|
||||
}
|
||||
double getMaxErr(int)
|
||||
{
|
||||
#ifdef HAVE_TEGRA_OPTIMIZATION
|
||||
return 2e-6;
|
||||
#else
|
||||
return 1e-6;
|
||||
#endif
|
||||
}
|
||||
int normType;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user