Format the two new examples
They were written after the last fmt run and CI gates on --check. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -25,7 +25,10 @@ const DEFAULT_SIZES: [usize; 4] = [2_000, 4_000, 8_000, 18_000];
|
||||
|
||||
fn main() {
|
||||
let sizes: Vec<usize> = {
|
||||
let given: Vec<usize> = std::env::args().skip(1).filter_map(|a| a.parse().ok()).collect();
|
||||
let given: Vec<usize> = std::env::args()
|
||||
.skip(1)
|
||||
.filter_map(|a| a.parse().ok())
|
||||
.collect();
|
||||
if given.is_empty() {
|
||||
DEFAULT_SIZES.to_vec()
|
||||
} else {
|
||||
@@ -37,7 +40,10 @@ fn main() {
|
||||
// no fit of its own would scan at.
|
||||
let cal = Calibration::default();
|
||||
|
||||
println!("{:>8} {:>9} {:>10} {:>9}", "faces", "scan", "pairs", "GFLOP/s");
|
||||
println!(
|
||||
"{:>8} {:>9} {:>10} {:>9}",
|
||||
"faces", "scan", "pairs", "GFLOP/s"
|
||||
);
|
||||
for n in sizes {
|
||||
let (embeddings, crop_px, images) = population(n);
|
||||
let faces = Faces {
|
||||
|
||||
Reference in New Issue
Block a user