Skip to content

Commit

Permalink
miscellanious
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajandhyala committed Nov 21, 2023
1 parent e18eabc commit a8de358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/web/lib/wasm/jsep/webgpu/ops/einsum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const createEinsumProgramInfo = (inputs: readonly TensorView[], einsumEquation:

const programUniforms: ProgramUniform[] =
inputs.filter((_, index) => enableInputShapesUniforms[index])
.map((input, _) => [...createTensorShapeVariables(input.dims)])
.map((input, _) => createTensorShapeVariables(input.dims))
.reduce(
(acc, inputProgramUniforms) => acc.concat(inputProgramUniforms), [{type: 'uint32', data: outputSize}]);
if (enableOutputShapesUniforms) {
Expand Down

0 comments on commit a8de358

Please sign in to comment.