Skip to content

Commit

Permalink
fix: single use constant should be debug not warn (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-camuto authored Oct 31, 2023
1 parent 5b26e86 commit 04bec48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ impl Model {
match &node {
NodeType::Node(n) => {
let res = if node.is_constant() && node.num_uses() == 1 {
log::warn!("constant node with 1 use");
log::debug!("node {} is a constant with 1 use", n.idx);
let mut node = n.clone();
let c = node.opkind.get_mutable_constant().unwrap();
Some(c.quantized_values.clone().into())
Expand Down

0 comments on commit 04bec48

Please sign in to comment.