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

Function model_fn_builder

run_spellgcn.py:375–511  ·  view source on GitHub ↗

Returns `model_fn` closure for TPUEstimator.

(adj_mat, w2n, n2w, bert_config, init_checkpoint, learning_rate,
                     num_train_steps, num_warmup_steps, use_tpu,
                     use_one_hot_embeddings)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected