(self, config)
| 895 | """ |
| 896 | |
| 897 | def __init__(self, config): |
| 898 | super(BertModel, self).__init__(config) |
| 899 | self.embeddings = BertEmbeddings(config) |
| 900 | self.encoder = BertEncoder(config) |
| 901 | self.pooler = BertPooler(config) |
| 902 | self.apply(self.init_bert_weights) |
| 903 | |
| 904 | def forward(self, input_ids, token_type_ids=None, attention_mask=None, output_all_encoded_layers=True, |
| 905 | checkpoint_activations=False): |
nothing calls this directly
no test coverage detected