chore(optimizer): fix clippy lints

This commit is contained in:
Alexandre Péré
2025-04-03 17:05:31 +02:00
parent d3bd9ae3d0
commit c2c65d028c
3 changed files with 5 additions and 5 deletions

View File

@@ -481,7 +481,7 @@ impl DagBuilder<'_> {
..
} => shape.clone(),
Operator::Dot {
kind: DotKind::Unsupported { .. },
kind: DotKind::Unsupported,
weights,
inputs,
} => {

View File

@@ -342,11 +342,11 @@ impl VariancedDag {
Operator::Input { .. } | Operator::ZeroNoise { .. } => unreachable!(),
Operator::Dot {
kind: DotKind::CompatibleTensor { .. },
kind: DotKind::CompatibleTensor,
..
} => todo!("TODO"),
Operator::Dot {
kind: DotKind::Unsupported { .. },
kind: DotKind::Unsupported,
..
} => panic!("Unsupported"),
Operator::Round { .. } => {

View File

@@ -169,11 +169,11 @@ fn out_variance(
})
}
Operator::Dot {
kind: DotKind::CompatibleTensor { .. },
kind: DotKind::CompatibleTensor,
..
} => todo!("TODO"),
Operator::Dot {
kind: DotKind::Unsupported { .. },
kind: DotKind::Unsupported,
..
} => panic!("Unsupported"),
Operator::Dot {