Skip to content

Commit

Permalink
more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-eire committed Aug 16, 2024
1 parent 5ec24f5 commit a147ae0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/web/lib/wasm/jsep/webgpu/ops/matmul.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const createNaiveMatmulProgramInfo = (
outputShape: readonly number[],
reshapedOutputShape?: readonly number[],
isChannelsLast = false /* only used for conv2dByMatMul*/,
squeezeOutputShapeFunction?: (shape: readonly number[]) => number[]
squeezeOutputShapeFunction?: (shape: readonly number[]) => number[],
): ProgramInfo => {
const aShape = inputs[0].dims;
const bShape = inputs[1].dims;
Expand Down Expand Up @@ -122,8 +122,8 @@ export const createNaiveMatmulProgramInfo = (
for (let j = 0; j < aComponents; j++) {
calcStr += `
values[${i}] = fma(${b.type.value}(a_data${
aComponents === 1 ? '' : `[${j}]`
}), b_data${j}, values[${i}]);\n`;
aComponents === 1 ? '' : `[${j}]`
}), b_data${j}, values[${i}]);\n`;
}
}
return calcStr;
Expand Down

0 comments on commit a147ae0

Please sign in to comment.