//! The portable backend interface. Kept minimal on purpose: it assumes host
//! tensors, so a device-memory backend would need to revise it.
usecrate::Tensor;useoxfuse_core::{Error, Graph};pubtraitBackend{fncompile(&self, graph:&Graph)->Result<Box<dyn Executable>, Error>;}pubtraitExecutable{/// `inputs` follow the graph's declared input order; the result follows
/// the graph's output order.
fnrun(&self, inputs:&[Tensor])->Result<Vec<Tensor>, Error>;}