MCPcopy Create free account
hub / github.com/DevSinghSachan/syntax-augmented-bert / forward

Method forward

model/syntax_bert.py:391–448  ·  view source on GitHub ↗
(self, input_ids, token_type_ids=None,
                wp_token_mask=None, dep_head=None,
                dep_rel=None, wp_rows=None, align_sizes=None, seq_len=None,
                subj_pos=None, obj_pos=None, linguistic_token_mask=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

inputs_to_tree_repsMethod · 0.95
to_linguistic_spaceMethod · 0.95

Tested by

no test coverage detected