mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 10:26:33 +00:00
ArgMin now returns a tensor with i64
This commit is contained in:
@ -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:?}"),
|
||||
|
Reference in New Issue
Block a user