pub trait GraphLayer: Debug {
// Required methods
fn forward(&self, graph: &GraphData) -> GraphData;
fn parameters(&self) -> Vec<Tensor>;
}Expand description
Trait for graph neural network layers
Required Methods§
Sourcefn parameters(&self) -> Vec<Tensor>
fn parameters(&self) -> Vec<Tensor>
Get layer parameters