@@ -320,21 +320,21 @@ namespace lfs::training::kernels {
320320 // CRF layout: [num_cameras * 3 channels * 4 params] where params are [toe, shoulder, gamma, center]
321321 int crf_total = num_cameras * 3 * 4 ;
322322 if (idx < crf_total) {
323- int param_idx = idx % 4 ; // Which of the 4 CRF params
323+ int param_idx = idx % 4 ; // Which of the 4 CRF params
324324 float raw_value;
325325 switch (param_idx) {
326- case 0 : // toe: target=1.0, min_value=0.3
327- raw_value = bounded_positive_inverse (1 .0f , 0 .3f );
328- break ;
329- case 1 : // shoulder: target=1.0, min_value=0.3
330- raw_value = bounded_positive_inverse (1 .0f , 0 .3f );
331- break ;
332- case 2 : // gamma: target=1.0, min_value=0.1
333- raw_value = bounded_positive_inverse (1 .0f , 0 .1f );
334- break ;
335- default : // case 3: center: sigmoid(0) = 0.5 (identity)
336- raw_value = 0 .0f ;
337- break ;
326+ case 0 : // toe: target=1.0, min_value=0.3
327+ raw_value = bounded_positive_inverse (1 .0f , 0 .3f );
328+ break ;
329+ case 1 : // shoulder: target=1.0, min_value=0.3
330+ raw_value = bounded_positive_inverse (1 .0f , 0 .3f );
331+ break ;
332+ case 2 : // gamma: target=1.0, min_value=0.1
333+ raw_value = bounded_positive_inverse (1 .0f , 0 .1f );
334+ break ;
335+ default : // case 3: center: sigmoid(0) = 0.5 (identity)
336+ raw_value = 0 .0f ;
337+ break ;
338338 }
339339 crf[idx] = raw_value;
340340 }
0 commit comments