Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajandhyala committed Dec 27, 2023
1 parent b8595a2 commit 7847193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/web/lib/wasm/jsep/webgpu/ops/resize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ const trilinearInterpolation =
var height:${dType} = originalIndices[${heightIdx}];
var width:${dType} = originalIndices[${widthIdx}];
${
useExtrapolation ? `(depth < 0 || depth > (${inputShape[depthIdx]} - 1) || height < 0 || height > (${
useExtrapolation ? `if (depth < 0 || depth > (${inputShape[depthIdx]} - 1) || height < 0 || height > (${
inputShape[heightIdx]} - 1) || width < 0 || (width > ${inputShape[widthIdx]} - 1))) {
return ${extrapolationValue};
}` :
Expand Down

0 comments on commit 7847193

Please sign in to comment.