pub trait FlatteTrait {
// Required methods
fn flatten(&self) -> (Vec<f32>, Vec<u32>);
fn flatten_rec(
&self,
output: &mut Vec<f32>,
shape: &mut Vec<u32>,
dim: usize,
);
}pub trait FlatteTrait {
// Required methods
fn flatten(&self) -> (Vec<f32>, Vec<u32>);
fn flatten_rec(
&self,
output: &mut Vec<f32>,
shape: &mut Vec<u32>,
dim: usize,
);
}