pub trait ForwardStrategy {
// Required method
fn forward(
&self,
graph: &Graph,
env: &ForwardEnv<'_>,
x: &Value,
) -> Result<Value>;
}Expand description
How a forward pass feeds data through the compiled graph.
Required Methods§
Sourcefn forward(
&self,
graph: &Graph,
env: &ForwardEnv<'_>,
x: &Value,
) -> Result<Value>
fn forward( &self, graph: &Graph, env: &ForwardEnv<'_>, x: &Value, ) -> Result<Value>
Execute a forward pass, returning the final output.