Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Sep 2, 2024
1 parent dc17eac commit 8208ba4
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions cli/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,6 @@ fn run_regular(
dispatch_model!(tract, |m| {
let plan = SimplePlan::new(m)?;
let mut state = SimpleState::new(plan)?;
/*
if let Some(set) = sub_matches.values_of("set") {
for set in set {
let mut tokens = set.split('=');
let sym = tokens.next().context("--set expect S=12 form")?;
let value = tokens.next().context("--set expect S=12 form")?;
let sym = state.model().symbols.sym(sym).to_owned();
let value: i64 = value.parse().context("Can not parse symbol value in set")?;
state.session_state.resolved_symbols =
state.session_state.resolved_symbols.with(&sym, value);
}
}
*/
let inputs = tract_libcli::tensor::retrieve_or_make_inputs(tract, run_params)?;
let mut results = tvec!(vec!(); state.model().outputs.len());
let multiturn = inputs.len() > 1;
Expand Down

0 comments on commit 8208ba4

Please sign in to comment.