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(), } => shape.clone(),
Operator::Dot { Operator::Dot {
kind: DotKind::Unsupported { .. }, kind: DotKind::Unsupported,
weights, weights,
inputs, inputs,
} => { } => {

View File

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

View File

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