Skip to content

Commit 347d3d3

Browse files
committed
Wrong gradient history for layer 1 weights
1 parent 8268572 commit 347d3d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SimpNet/Assets/SimpNet/Shaders/SimpNet.shader

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,8 +1240,10 @@ Shader "SimpNet/SimpNet"
12401240
for (uint y = 0; y < 63; y++) {
12411241
uint lx = x + i;
12421242
uint ly = y + j;
1243+
// dwL1 += getDiL1(_Buffer, uint3(x, y, l)) *
1244+
// testImage(lx, ly, k);
12431245
dwL1 += getDiL1(_Buffer, uint3(x, y, l)) *
1244-
testImage(lx, ly, k);
1246+
(_CamIn.Load(int3(ly, 64 - lx, 0))[k]);
12451247
}
12461248
}
12471249

0 commit comments

Comments
 (0)