INNER CODE UNIT · Python

population_statistics

ematvey/hierarchical-attention-networks · bn_lstm.py:152

        def population_statistics():
            return tf.nn.batch_normalization(x, pop_mean, pop_var, offset, scale, epsilon)

        return tf.cond(training, batch_statistics, population_statistics)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…