summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/cnn_v2_test/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/cnn_v2_test/index.html b/tools/cnn_v2_test/index.html
index 69336ab..1dd2e78 100644
--- a/tools/cnn_v2_test/index.html
+++ b/tools/cnn_v2_test/index.html
@@ -1619,8 +1619,8 @@ class CNNTester {
const layerTex = this.layerOutputs[layerIdx];
if (!layerTex) return;
- // Use 1.0 for static features and final layer (both clamped [0,1]), 0.5 for middle layers (unbounded)
- const vizScale = (layerIdx === 0 || layerIdx === this.layerOutputs.length - 1) ? 1.0 : 0.5;
+ // Always 1.0, shader clamps to [0,1] - show exact layer values
+ const vizScale = 1.0;
const actualChannel = channelOffset + this.selectedChannel;
const paramsBuffer = this.device.createBuffer({