// @generated by scripts/extraction/learned/export_gnn_rust.py -- do not edit.
//
// Copyright (c) 2026 Innovation Trigger B.V.
//
// PDFluent is available under two licences, at your option: the GNU AGPLv3, or
// the PDFluent Commercial Licence. See the LICENSE file in this repository --
// that file travels with the copy you received, which a URL does not.
//! The `line_gnn` network: 117322 parameters, hidden 64, 3 layers, 6 edge directions.
//!
//! Weights sha256 (of weights.json): 3adc91ce105bdef82804e46b59e596e65f54b6dac176f94d4e7901a216cd658c
mod part_00;
mod part_01;
mod part_02;
pub use part_00::*;
pub use part_01::*;
pub use part_02::*;
/// The sha256 of the weights this code was generated from.
pub const WEIGHTS_SHA256: &str = "3adc91ce105bdef82804e46b59e596e65f54b6dac176f94d4e7901a216cd658c";
pub const HIDDEN: usize = 64;
pub const LAYERS: usize = 3;
pub const NODE_WIDTH: usize = 61;
pub const EDGE_WIDTH: usize = 4;
pub const DIRECTIONS: [&str; 6] = ["above", "below", "left", "right", "prev", "next"];
pub const CLASSES: [&str; 5] = ["other", "heading", "list", "table", "caption"];
/// The input groups past the base row, in the order the node row
/// carries them (`train_line_gnn.GROUP_ORDER`); empty for a network
/// trained on the base row alone.
pub const GROUPS: [&str; 0] = [];
/// The training pages' mean and spread of every node and edge input:
/// the network reads `(x - MEAN) / SPREAD`.
pub static NODE_MEAN: [f32; 61] = [0.020706438_f32, 0.04596836_f32, 0.023198953_f32, 4.8285937_f32, -0.053457323_f32, 8.543302_f32, 1.9575065_f32, 7.517936_f32, -0.42486656_f32, -0.33931163_f32, 0.6923595_f32, 0.9897405_f32, 0.05508613_f32, 3.0559845_f32, 7.111969_f32, -0.58549875_f32, 0.06183733_f32, 0.9886909_f32, 0.080577955_f32, 2.015088_f32, 0.1568393_f32, 0.0655584_f32, -0.0072394_f32, 0.9886909_f32, 0.052783173_f32, 0.013342773_f32, 0.05107612_f32, 262.79733_f32, 41.61583_f32, 6.5647635_f32, 0.27965653_f32, 0.40950814_f32, 0.482655_f32, -0.76007223_f32, -1.4874578_f32, 0.3034017_f32, 0.020068698_f32, 0.03176716_f32, 0.034075584_f32, 0.0040864986_f32, 0.030011732_f32, 0.035327688_f32, 0.20334896_f32, 0.93523914_f32, 0.2569899_f32, 0.9213659_f32, 1.1459758_f32, 0.7655282_f32, 0.1152175_f32, 0.12859468_f32, 0.1181286_f32, 1.4015813_f32, 0.018053938_f32, 4.690941_f32, 0.011774435_f32, 0.0066681374_f32, 0.19912806_f32, 0.34742013_f32, 0.5143411_f32, 0.6044308_f32, 0.5265208_f32];
pub static NODE_SPREAD: [f32; 61] = [0.14119442_f32, 0.21089227_f32, 0.1493485_f32, 4.344813_f32, 0.82990795_f32, 55.54244_f32, 17.49762_f32, 50.207485_f32, 0.5446617_f32, 0.6673291_f32, 0.38264155_f32, 1.0140415_f32, 0.22348887_f32, 7.031468_f32, 11.693223_f32, 4.014448_f32, 0.2391577_f32, 0.9863447_f32, 0.27350304_f32, 3.8372536_f32, 0.36424133_f32, 0.9203423_f32, 0.22953318_f32, 0.9863447_f32, 0.20986456_f32, 0.10175612_f32, 0.22066541_f32, 438.20706_f32, 69.01118_f32, 12.622297_f32, 0.33905596_f32, 0.29459137_f32, 0.27917272_f32, 43.826916_f32, 25.616873_f32, 0.46107954_f32, 0.13936938_f32, 0.17557395_f32, 0.18055205_f32, 0.06370322_f32, 0.16907348_f32, 0.18436751_f32, 0.47175193_f32, 1.3936268_f32, 0.41056356_f32, 1.7327336_f32, 1.0314444_f32, 0.42734572_f32, 0.32035592_f32, 0.4458711_f32, 0.38974386_f32, 3.876755_f32, 0.13239533_f32, 22.9557_f32, 0.107460536_f32, 0.081143394_f32, 0.3995647_f32, 0.3576182_f32, 0.26648182_f32, 0.360723_f32, 0.26628965_f32];
pub static EDGE_MEAN: [f32; 24] = [2.9974022_f32, -2.2929134_f32, 0.99783915_f32, 0.32179534_f32, 4.8027062_f32, -5.3163185_f32, 1.1824476_f32, 0.33212554_f32, 3.8025718_f32, -9.736747_f32, 0.02409084_f32, -0.36195537_f32, 3.7941823_f32, 7.994361_f32, -0.00035823314_f32, -0.35900265_f32, 6.897271_f32, -0.41438442_f32, 1.0127296_f32, 0.5368223_f32, 6.881077_f32, -0.0017320288_f32, 1.0130466_f32, 0.5368223_f32];
pub static EDGE_SPREAD: [f32; 24] = [31.884884_f32, 25.607494_f32, 2.093026_f32, 0.56548584_f32, 57.740543_f32, 61.58753_f32, 4.0371265_f32, 0.55364496_f32, 41.707954_f32, 78.470634_f32, 2.607286_f32, 0.7493093_f32, 25.64872_f32, 27.415268_f32, 1.8626789_f32, 0.74920446_f32, 47.414467_f32, 40.982384_f32, 1.46257_f32, 0.52616924_f32, 33.240067_f32, 41.461357_f32, 1.5919944_f32, 0.52616924_f32];