From 0afeb971a3b2fa701bf74fca03dd4d4141caed97 Mon Sep 17 00:00:00 2001 From: nihui Date: Tue, 18 Aug 2020 22:03:57 +0800 Subject: [PATCH] Fix instancenorm math equation (#18955) --- src/operator/instance_norm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operator/instance_norm.cc b/src/operator/instance_norm.cc index 00482b52d034..abce4140e499 100644 --- a/src/operator/instance_norm.cc +++ b/src/operator/instance_norm.cc @@ -60,7 +60,7 @@ the input using the following formula: .. math:: - out = \frac{x - mean[data]}{ \sqrt{Var[data]} + \epsilon} * gamma + beta + out = \frac{x - mean[data]}{ \sqrt{Var[data] + \epsilon}} * gamma + beta This layer is similar to batch normalization layer (`BatchNorm`) with two differences: first, the normalization is