diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-13 23:42:53 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-13 23:42:53 +0100 |
| commit | 112d7f82a4fccbe26ae2b4696d87464494253ce1 (patch) | |
| tree | df5ca2ced6d0236c129ed0bfca33885b4d13947a /tools/cnn_v2_test/index.html | |
| parent | 25044d63057cdb134cc3930bb67b178cff1aebb4 (diff) | |
CNN v2: Remove vizScale, always clip to [0,1]
All layers now use scale 1.0, shader clamps values >1.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/cnn_v2_test/index.html')
| -rw-r--r-- | tools/cnn_v2_test/index.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/cnn_v2_test/index.html b/tools/cnn_v2_test/index.html index 73a9f55..dd1e42b 100644 --- a/tools/cnn_v2_test/index.html +++ b/tools/cnn_v2_test/index.html @@ -1527,8 +1527,7 @@ class CNNTester { continue; } - // Static features: 1.0, Layer 0: 1.0 (clamped [0,1]), Middle layers: 0.5 (ReLU, can be >1) - const vizScale = (layerIdx === 0 || layerIdx === 1) ? 1.0 : 0.5; + const vizScale = 1.0; // Always 1.0, shader clamps to [0,1] const paramsBuffer = this.device.createBuffer({ size: 8, usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST |
