As you use GlobalAveragePooling inside your model and train it,  normally in tf.keras masking is propagated.
So, can I assume that masking is propagated from the BERT model towards this pooling layer?
Any ideas? And how could I check this?