↓ 6 callersMethodupdate_metric(self, arc_preds, rel_preds, arcs, rels, mask, puncts, metric, batch=None)
hanlp/components/parsers/biaffine/biaffine_dep.py:537
↓ 5 callersMethodY_to_outputs(self, Y: Union[tf.Tensor, Tuple[tf.Tensor]], gold=False, inputs=None, X=None,
batch=None
hanlp/common/transform_tf.py:247
↓ 4 callersMethodget_loss(self, arc_scores, rel_scores, arcs, rels, mask, arc_loss, rel_loss)
hanlp/components/parsers/biaffine_parser_tf.py:187
↓ 4 callersMethodinputs_to_dataset(self, inputs, gold=False, map_x=None, map_y=None, batch_size=32, shuffle=None, repeat=None,
hanlp/common/transform_tf.py:148
↓ 3 callersMethodY_to_outputs(self, Y: Union[tf.Tensor, Tuple[tf.Tensor]], gold=False, inputs=None, X=None)
hanlp/transform/conll_tf.py:293
↓ 3 callersMethod__init__(self, n_hidden, dropout=0, trainable=True, name=None, dtype=None, dynamic=False, **kwargs)
hanlp/components/parsers/biaffine_tf/layers.py:51
↓ 3 callersMethod__init__(self, config: SerializableDict = None, map_x=True, map_y=True, lower=True, n_buckets=32, min_freq=2,
hanlp/transform/conll_tf.py:27