Skip to content

Commit

Permalink
Merge pull request #592 from robertknight/fix-arg-min
Browse files Browse the repository at this point in the history
Fix ArgMin op
  • Loading branch information
robertknight authored Feb 10, 2025
2 parents 83f0003 + a4d9768 commit ad555f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ops/reduce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ impl Operator for ArgMin {

fn run(&self, pool: &TensorPool, inputs: InputList) -> Result<OutputList, OpError> {
let input = inputs.require(0)?;
dispatch_single_axis_reduce_op!(pool, input, arg_max, self.axis, self.keep_dims)
dispatch_single_axis_reduce_op!(pool, input, arg_min, self.axis, self.keep_dims)
}
}

Expand Down

0 comments on commit ad555f2

Please sign in to comment.