diff options
Diffstat (limited to 'workspaces/main')
| -rw-r--r-- | workspaces/main/shaders/cnn_v2_compute.wgsl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/workspaces/main/shaders/cnn_v2_compute.wgsl b/workspaces/main/shaders/cnn_v2_compute.wgsl index f9eb556..b19a692 100644 --- a/workspaces/main/shaders/cnn_v2_compute.wgsl +++ b/workspaces/main/shaders/cnn_v2_compute.wgsl @@ -46,6 +46,7 @@ fn pack_channels(values: array<f32, 8>) -> vec4<u32> { // Get weight from storage buffer (f16 packed as u32 pairs) // Buffer layout: [header: 4 u32][layer_info: N×5 u32][weights: packed f16] +// TODO: Support 8-bit quantized weights (4× per u32) for 2× size reduction fn get_weight(idx: u32) -> f32 { // Skip header (16 bytes = 4 u32) and layer info // Weights start after header + layer_info, but weight_offset already accounts for this |
