style: apply rustfmt across all crates and demos
Consistent formatting pass: line wrapping, import sorting, trailing whitespace removal, let-chain indentation, merged derive attributes, and unsafe block reformatting. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
@@ -410,7 +410,11 @@ impl WaveFNO {
|
||||
let lifting_len = self.lifting_weights.len();
|
||||
let random_lifting: Vec<f32> = (0..lifting_len).map(|_| self.random() as f32).collect();
|
||||
|
||||
let fourier_sizes: Vec<usize> = self.fourier_weights.iter().map(std::vec::Vec::len).collect();
|
||||
let fourier_sizes: Vec<usize> = self
|
||||
.fourier_weights
|
||||
.iter()
|
||||
.map(std::vec::Vec::len)
|
||||
.collect();
|
||||
let random_fourier: Vec<Vec<f32>> = fourier_sizes
|
||||
.iter()
|
||||
.map(|&size| (0..size).map(|_| self.random() as f32).collect())
|
||||
|
||||
Reference in New Issue
Block a user