mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
fix the CUDNN_BN_MIN_EPSILON difference issue between cudnn7.3 and cudnn7.6 (#2681)
This commit is contained in:
parent
64112db346
commit
72286d91e7
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ LayerNorm<T, U>::LayerNorm(const OpKernelInfo& op_kernel_info) : CudaKernel(op_k
|
|||
ORT_ENFORCE(op_kernel_info.GetAttr("axis", &axis_).IsOK());
|
||||
float tmp_epsilon;
|
||||
ORT_ENFORCE(op_kernel_info.GetAttr<float>("epsilon", &tmp_epsilon).IsOK());
|
||||
epsilon_ = ClampCudnnBatchNormEpsilon(tmp_epsilon);
|
||||
epsilon_ = tmp_epsilon;
|
||||
}
|
||||
|
||||
template <typename T, typename U>
|
||||
|
|
|
|||
Loading…
Reference in a new issue