//! TirNode struct and feature vector encoding.
use ;
/// Node feature vector dimensions:
/// - op_onehot: 54 (NUM_OP_KINDS)
/// - field_type_onehot: 3 (BFE, XFE, Unknown)
/// - has_immediate: 1
/// - immediate_normalized: 1
/// Total: 59
pub const NODE_FEATURE_DIM: usize = NUM_OP_KINDS + 3 + 1 + 1;
/// A node in the TIR graph.
trident/src/neural/data/tir_graph/node.rs
ฯ 0.0%