24 mlp_head(register_module(
"mlp_head", torch::nn::Linear(input_dim, hidden_arc_dim))),
25 mlp_dep(register_module(
"mlp_dep", torch::nn::Linear(input_dim, hidden_arc_dim))),
26 U1(register_parameter(
"U1", torch::randn({hidden_arc_dim, hidden_arc_dim}))),
27 u2(register_parameter(
"u2", torch::randn({hidden_arc_dim, 1}))),
28 root(register_parameter(
"root", torch::randn({1, 1, hidden_arc_dim}))),
29 root2(register_parameter(
"root2", torch::randn({1, 1, hidden_arc_dim})))