Bert embeddings

I want to multiple bert input embeddings with other tensor and forward it to the encoder of bert
How can I implement this

import BERT-base pretrained model

bert = AutoModel.from_pretrained(‘bert-base-uncased’)

Load the BERT tokenizer

tokenizer = BertTokenizerFast.from_pretrained(‘bert-base-uncased’)