# How to use batch norm to perform input standardization?

I need to train a model with an un-normalized dataset and I can not directly standardize it (subtract the mean and divide by the std), but I do have the mean and std for each feature. Thus I'm thinking about using the keras BN layer to do the normalization automatically, by using it directly after the input layer, freezing its weights for gamma & beta, and replace its running mean and std with my own. However, I have no clue how to change the moving_mean_initializer and moving_variance_initializer in the keras BN layer.

init_obj = tf.keras.initializers.Constant(