mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 19:18:50 +00:00
Remove print.
This commit is contained in:
@ -543,7 +543,6 @@ fn argmax(device: &Device) -> Result<()> {
|
|||||||
let t1 = tensor.reshape((190, 5, 4))?;
|
let t1 = tensor.reshape((190, 5, 4))?;
|
||||||
let t2 = t1.transpose(0, 2)?.contiguous()?.transpose(0, 2)?;
|
let t2 = t1.transpose(0, 2)?.contiguous()?.transpose(0, 2)?;
|
||||||
for tensor in [t1, t2] {
|
for tensor in [t1, t2] {
|
||||||
println!("{}", tensor.argmax_keepdim(0)?.argmax_keepdim(2)?);
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
tensor
|
tensor
|
||||||
.argmax_keepdim(0)?
|
.argmax_keepdim(0)?
|
||||||
|
Reference in New Issue
Block a user