↓ 2 callersMethod__init__(self, path: str = None, vocab: VocabTF = None, normalize: bool = False, load_all=True, mask_zero=True,
hanlp/layers/embeddings/word2vec_tf.py:19
↓ 2 callersMethod_forward_brnn(cell, gate, input, masks, initial, drop_masks=None, hidden_drop=None)
hanlp/components/srl/span_rank/highway_variational_lstm.py:66
↓ 2 callersMethod_forward_rnn(cell, gate, input, masks, initial, drop_masks=None, hidden_drop=None)
hanlp/components/srl/span_rank/highway_variational_lstm.py:54
↓ 2 callersFunction_gen_short_sent(tokens, start, offset, max_seq_length, token_to_char_offset, char_level)
hanlp/utils/string_util.py:53
↓ 2 callersFunction_update_state(t0, rs0, t1, rs1, delta, arg_id, role)
hanlp/components/srl/span_rank/inference_utils.py:163
↓ 2 callersFunctionbatchify(data, vocabs: VocabDict, unk_rate=0., device=None, squeeze=False,
tokenizer: TransformerSequence
hanlp/datasets/parsing/amr.py:83
↓ 2 callersMethodbuild_dataloader(self, data: List[str], shuffle=False, device=None, logger: logging.Logger = None,
do
hanlp/layers/embeddings/word2vec.py:186
↓ 2 callersMethodbuild_optimizer(self, optimizer='adam', lr=2e-3, mu=.9, nu=.9, epsilon=1e-12, clip=5.0, decay=.75,
de
hanlp/components/parsers/biaffine_parser_tf.py:197
↓ 2 callersMethodcollect_outputs(self, arc_scores, rel_scores, mask, batch, predictions, order, data, use_pos,
build_d
hanlp/components/parsers/biaffine/biaffine_dep.py:126
↓ 2 callersMethodcompute_loss(self,
batch: Dict[str, Any],
output: Union[torch.Tensor, Dict[str,
hanlp/components/mtl/multi_task_learning.py:748