mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 12:20:46 +00:00
Fix the dilated convolutions. (#659)
This commit is contained in:
@ -423,24 +423,24 @@ fn conv2d_grad(dev: &Device) -> Result<()> {
|
||||
test_utils::to_vec3_round(&grad_w.i(0)?, 2)?,
|
||||
[
|
||||
[
|
||||
[28.34, -45.75, 7.32],
|
||||
[0.72, -35.28, 19.23],
|
||||
[-28.29, 20.89, -5.18]
|
||||
[28.34, -7.91, -45.75],
|
||||
[21.03, 3.86, 29.86],
|
||||
[0.72, -36.58, -35.28]
|
||||
],
|
||||
[
|
||||
[-16.04, -16.38, 32.12],
|
||||
[57.5, 25.81, 11.96],
|
||||
[-18.66, 8.48, -9.92]
|
||||
[-16.04, 11.53, -16.38],
|
||||
[29.62, -16.32, -48.35],
|
||||
[57.5, 28.29, 25.81]
|
||||
],
|
||||
[
|
||||
[2.93, 1.57, -23.76],
|
||||
[12.74, -26.2, -17.88],
|
||||
[-14.98, -9.35, 12.2]
|
||||
[2.93, -19.6, 1.57],
|
||||
[27.15, 53.88, -24.64],
|
||||
[12.74, -22.6, -26.2]
|
||||
],
|
||||
[
|
||||
[-0.18, -6.82, 20.79],
|
||||
[-2.54, 27.11, -10.11],
|
||||
[-0.41, -3.18, -0.07]
|
||||
[-0.18, -14.86, -6.82],
|
||||
[-19.55, -2.72, 45.9],
|
||||
[-2.54, 36.97, 27.11]
|
||||
]
|
||||
]
|
||||
);
|
||||
|
Reference in New Issue
Block a user