MCPcopy Create free account
hub / github.com/ShannonAI/CorefQA / __init__

Method __init__

bert/modeling.py:131–237  ·  view source on GitHub ↗

Constructor for BertModel. Args: config: `BertConfig` instance. is_training: bool. rue for training model, false for eval model. Controls whether dropout will be applied. input_ids: int32 Tensor of shape [batch_size, seq_length]. input_mas

(self,
                 config,
                 is_training,
                 input_ids,
                 input_mask=None,
                 token_type_ids=None,
                 use_one_hot_embeddings=True,
                 scope=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

get_shape_listFunction · 0.85
embedding_lookupFunction · 0.85
embedding_postprocessorFunction · 0.85
transformer_modelFunction · 0.85
get_activationFunction · 0.85
create_initializerFunction · 0.85

Tested by

no test coverage detected