pub trait NamedInputModule: Module {
// Required method
fn forward_named(
&self,
input: &Variable,
refs: &HashMap<String, Variable>,
) -> Result<Variable>;
}Expand description
Module that can receive additional named inputs via graph using().