Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
axinging committed Jan 31, 2024
1 parent 5c0b540 commit 2782869
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/web/lib/wasm/jsep/webgpu/ops/layer-norm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ const createLayerNormProgramInfo =
}
let mean = ${sumVector('meanVector', components)} / uniforms.norm_size;
let invStdDev =
inverseSqrt(${
sumVector('meanSquareVector', components)} / uniforms.norm_size - mean * mean + uniforms.epsilon);
inverseSqrt(${sumVector('meanSquareVector', components)} / uniforms.norm_size - mean * mean + uniforms.epsilon);
for (var j: u32 = 0; j < uniforms.norm_size_vectorized; j++) {
let f32input = ${castToF32(dataType, components, 'x[j + offset]')};
Expand Down

0 comments on commit 2782869

Please sign in to comment.