BERT modified embeddings

I would like to multiple bert embeddings with other tensor and forward it to the bert encoder layer. How can i do it using hugging face bert base uncased model