Skip to main content

ForwardStrategy

Trait ForwardStrategy 

Source
pub trait ForwardStrategy {
    // Required method
    fn forward(
        &self,
        graph: &Graph,
        library: &FilterLibrary,
        cache: &dyn CacheStore,
        event_bus: &Arc<EventBus>,
        data_store: Option<&Arc<dyn DataStore>>,
        x: &Value,
    ) -> Result<Value>;
}
Expand description

How a forward pass feeds data through the compiled graph.

Required Methods§

Source

fn forward( &self, graph: &Graph, library: &FilterLibrary, cache: &dyn CacheStore, event_bus: &Arc<EventBus>, data_store: Option<&Arc<dyn DataStore>>, x: &Value, ) -> Result<Value>

Execute a forward pass, returning the final output.

Implementors§