cu_vitfly/lib.rs
1//! Standalone Candle inference for the ViTFly ViT+LSTM policy.
2//!
3//! The low-level [`VitFly::forward`] contract mirrors the trained PyTorch
4//! model: depth `[1, 1, 60, 90]`, desired velocity `[1, 1]`, attitude
5//! quaternion `[1, 4]`, and an optional recurrent state.
6
7mod model;
8mod task;
9
10pub use model::{
11 ATTITUDE_SHAPE, DEPTH_SHAPE, DESIRED_VELOCITY_SHAPE, ForwardTrace, INPUT_HEIGHT, INPUT_WIDTH,
12 OUTPUT_SHAPE, RECURRENT_SHAPE, VitFly, VitFlyState,
13};
14pub use task::{VitFlyTask, VitFlyVelocity};