T-REX: Partitioned inference for AUV mission control