MCPcopy Create free account
hub / github.com/ACL2020SpellGCN/SpellGCN / model_fn

Function model_fn

run_spellgcn.py:380–509  ·  view source on GitHub ↗

The `model_fn` for TPUEstimator.

(features, labels, mode, params)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

get_embedding_tableMethod · 0.95
get_sequence_outputMethod · 0.95
build_gcn_outputFunction · 0.85
get_masked_lm_outputFunction · 0.85
metric_fnFunction · 0.85

Tested by

no test coverage detected