use super::{error::RuntimeError, tensor::Tensor};
pub trait RuntimeSession: Send + Sync + 'static {
fn run(&self, inputs: &[Tensor]) -> Result<Vec<Tensor>, RuntimeError>;
fn run_low_latency(&self, inputs: &[Tensor]) -> Result<Vec<Tensor>, RuntimeError> {
self.run(inputs)
}
fn is_ane_encoder(&self) -> bool {
false
}
}