import tensorflow as tf

# Create a Dense layer with 3 units and random normal initializer
layer = tf.keras.layers.Dense(3, kernel_initializer=tf.keras.initializers.RandomNormal(mean=0., stddev=1.))

# Build the layer (specifying input shape)
layer.build((None, 4))

# Print the initialized kernel weights and bias weights
print(layer.get_weights())
