ArgMin now returns a tensor with i64

This commit is contained in:
b1rtek
2024-05-09 20:22:22 +02:00
parent 13b88547f7
commit 9a273196b7

View File

@ -1028,7 +1028,7 @@ pub fn simple_eval(
input.argmin_keepdim(axis)?
} else {
input.argmin(axis)?
};
}.to_dtype(DType::I64)?;
values.insert(node.output[0].clone(), output);
}
op_type => bail!("unsupported op_type {op_type} for op {node:?}"),