Skip to content

wenscarl/instance_norm

Repository files navigation

Instance Normalization

This repo implements the Instance Normalization with different programming languages or libraries: Tensorflow (Keras), Numpy, C++, Eigen, CUDA. Each sample includes both the forward and backward passes and results are checked compared with Keras's InstanceNormalization Instance.

Instance Normalization Forward Pass

Suppose are batch, channel and feature dimensions respectively.


Instance Normalization Backward Pass


Here we can view as a composition function , where and , are defined as above. Therefore, we get:

  • Compute

  • Compute

  • Compute

, where the last term is 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages