Applies Instance Normalization for each channel in each data sample in a batch.
nnf_instance_norm(
input,
running_mean = NULL,
running_var = NULL,
weight = NULL,
bias = NULL,
use_input_stats = TRUE,
momentum = 0.1,
eps = 1e-05
)
the input tensor
the running_mean tensor
the running var tensor
the weight tensor
the bias tensor
whether to use input stats
a double for the momentum
an eps double for numerical stability