Trait border_tch_agent::model::SubModel2
source · pub trait SubModel2 {
type Config;
type Input1;
type Input2;
type Output;
// Required methods
fn build(var_store: &VarStore, config: Self::Config) -> Self;
fn clone_with_var_store(&self, var_store: &VarStore) -> Self;
fn forward(
&self,
input1: &Self::Input1,
input2: &Self::Input2
) -> Self::Output;
}Expand description
Required Associated Types§
Required Methods§
sourcefn build(var_store: &VarStore, config: Self::Config) -> Self
fn build(var_store: &VarStore, config: Self::Config) -> Self
Builds SubModel2 with VarStore and SubModel2::Config.