// @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: 117772 parameters, hidden 64, 3 layers, 6 edge directions.
//!
//! Weights sha256 (of weights.json): c19b20a205a3510a43f314d1e8baa9f7b88a99cccb06099396973bf06cb32fca
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 = "c19b20a205a3510a43f314d1e8baa9f7b88a99cccb06099396973bf06cb32fca";
pub const HIDDEN: usize = 64;
pub const LAYERS: usize = 3;
pub const NODE_WIDTH: usize = 66;
pub const EDGE_WIDTH: usize = 4;
pub const DIRECTIONS: [&str; 6] = ["above", "below", "left", "right", "prev", "next"];
pub const CLASSES: [&str; 7] = ["other", "heading", "list", "table", "caption", "page_header", "page_footer"];
/// 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; 1] = ["style"];
/// The training pages' mean and spread of every node and edge input:
/// the network reads `(x - MEAN) / SPREAD`.
pub static NODE_MEAN: [f32; 66] = [0.020470835_f32, 0.045940347_f32, 0.023231102_f32, 4.837238_f32, -0.09786079_f32, 8.282733_f32, 1.8783374_f32, 7.14076_f32, -0.43568024_f32, -0.3496438_f32, 0.7023146_f32, 0.99062085_f32, 0.076757334_f32, 2.8517606_f32, 6.7035213_f32, -0.57884055_f32, 0.07184317_f32, 0.98970306_f32, 0.07885598_f32, 2.0066216_f32, 0.18040232_f32, 0.017949935_f32, -0.007998461_f32, 0.98970306_f32, 0.07358694_f32, 0.017704023_f32, 0.05149354_f32, 250.5015_f32, 39.761395_f32, 6.1447372_f32, 0.2811478_f32, 0.40424484_f32, 0.4833556_f32, -0.75495756_f32, -1.5339456_f32, 0.3091739_f32, 0.019776957_f32, 0.03160118_f32, 0.03578622_f32, 0.0040826993_f32, 0.03051609_f32, 0.03382943_f32, 0.20573974_f32, 0.9365715_f32, 0.25975388_f32, 0.92669123_f32, 1.0798445_f32, 0.6686837_f32, 0.115954466_f32, 0.13257849_f32, 0.118696585_f32, 1.5772561_f32, 0.017188707_f32, 4.6671815_f32, 0.01171898_f32, 0.0066419165_f32, 0.20078605_f32, 0.34819743_f32, 0.5140143_f32, 0.60280293_f32, 0.52616537_f32, 0.20913894_f32, 0.06837839_f32, 0.2888429_f32, 0.22250105_f32, 0.53827524_f32];
pub static NODE_SPREAD: [f32; 66] = [0.1416053_f32, 0.20935673_f32, 0.1506377_f32, 4.3418584_f32, 1.0884948_f32, 59.131668_f32, 15.67576_f32, 52.349392_f32, 0.5433302_f32, 0.6699335_f32, 0.38363543_f32, 1.0109496_f32, 0.26043025_f32, 6.3181477_f32, 10.429412_f32, 3.491144_f32, 0.2582291_f32, 0.9822507_f32, 0.2695149_f32, 3.7930353_f32, 0.38452318_f32, 1.1535968_f32, 0.23015258_f32, 0.9822507_f32, 0.24537532_f32, 0.1188499_f32, 0.22100317_f32, 404.61298_f32, 62.48524_f32, 10.681676_f32, 0.34085557_f32, 0.29472378_f32, 0.27524608_f32, 44.634144_f32, 25.66036_f32, 0.46215406_f32, 0.139234_f32, 0.17493682_f32, 0.18575771_f32, 0.06376645_f32, 0.1720035_f32, 0.1807909_f32, 0.47375524_f32, 1.3899716_f32, 0.41080022_f32, 1.7460134_f32, 0.74192846_f32, 0.47068754_f32, 0.32017133_f32, 0.45851684_f32, 0.39018777_f32, 4.6358376_f32, 0.12997505_f32, 24.126015_f32, 0.107619055_f32, 0.08122784_f32, 0.4005893_f32, 0.3572522_f32, 0.2662427_f32, 0.35977876_f32, 0.2660613_f32, 0.80886596_f32, 0.2499455_f32, 0.44373873_f32, 0.4082861_f32, 0.37788278_f32];
pub static EDGE_MEAN: [f32; 24] = [2.9393644_f32, -2.2078636_f32, 0.99531925_f32, 0.31173676_f32, 4.710307_f32, -5.1784954_f32, 1.1752203_f32, 0.32150474_f32, 3.8653972_f32, -9.794706_f32, 0.029705158_f32, -0.36543098_f32, 3.8567154_f32, 8.05001_f32, 0.0057347715_f32, -0.3622773_f32, 7.335644_f32, -0.37776726_f32, 1.0130088_f32, 0.5255069_f32, 7.3178563_f32, 0.054961998_f32, 1.0134276_f32, 0.5255069_f32];
pub static EDGE_SPREAD: [f32; 24] = [31.551296_f32, 23.632784_f32, 2.044646_f32, 0.55956316_f32, 57.17308_f32, 60.729313_f32, 4.006083_f32, 0.54741025_f32, 41.7797_f32, 78.985085_f32, 2.609131_f32, 0.7352527_f32, 25.536257_f32, 27.297258_f32, 1.8618761_f32, 0.74147254_f32, 47.64846_f32, 40.069614_f32, 1.4576402_f32, 0.525768_f32, 33.942192_f32, 39.595066_f32, 1.590407_f32, 0.52576804_f32];