onnxruntime
[JS/WebGPU] Add Resize operator
#16680
Merged

[JS/WebGPU] Add Resize operator #16680

satyajandhyala merged 39 commits into main from sajandhy/webgpu_add_resize
satyajandhyala
satyajandhyala Added Resize operator support.
6d66e60b
satyajandhyala Fixed compilation errors.
d9b2e5b4
satyajandhyala Fixed forwarding string attribute values to JS.
2bffc786
satyajandhyala Formating changes.
49dbcf48
satyajandhyala Use UTF8ToString instead of String.formCharCode to pass string values…
b0e8260f
satyajandhyala Moved functions converting enum to string to the derived class.
ad207265
satyajandhyala Added enum classes in resize.ts
390ffa13
satyajandhyala Moved PreCompute functionality from Upsample to UpsampleBase class.
0e715075
satyajandhyala Added SerializeCustomData function to cache computed arrays for JSEP
acd6420a
satyajandhyala Added serializeCustomData
2a13bd8e
satyajandhyala Added readCustomDatabuffer
9d188696
satyajandhyala Revert changes to UpsampleBase.
cb3119e2
satyajandhyala Removed copying data from C++ class
ab874fba
satyajandhyala Added some functionality
c5f12af4
github-advanced-security
github-advanced-security commented on 2023-07-12
fs-eire
fs-eire commented on 2023-07-12
satyajandhyala Some NN mode tests pass.
8b2339cb
satyajandhyala Changed enums to string literals
836887db
satyajandhyala Removed global variables
b4956052
satyajandhyala Updated document, enabled nearest neighbor and formatted.
41a3c0bf
satyajandhyala Skip placeholder inputs when reading input tensors.
b07c2fa8
satyajandhyala typo
52138ad5
satyajandhyala Check placehold inputs.
b3e29ce0
satyajandhyala Fixed shader code data types in expressions, removed ternary operator…
8c0f74f2
satyajandhyala Update scales, if not specified, when adjusting output shape.
93c077db
satyajandhyala Updated adjustOutputShape implementation.
f87adebe
satyajandhyala Fixed cacheHint
7b482494
satyajandhyala Removed Nearest2xOptimization special case.
f5e85818
satyajandhyala Added Resize liner mode.
682b706a
satyajandhyala Added Resize cubic mode support.
9fbf38c6
satyajandhyala miscellanious fixes.
edea548d
satyajandhyala Refactored bilinear Resize code.
c907f6e3
satyajandhyala Fixed a bug in the cubic interpolation formula caused while copying.
6d18d984
satyajandhyala satyajandhyala marked this pull request as ready for review 2 years ago
satyajandhyala satyajandhyala changed the title [WIP][Web/JS] Add Resize operator [Web/JS] Add Resize operator 2 years ago
satyajandhyala Removed repeating logic in bicubicInputerpolation function.
adec4462
satyajandhyala satyajandhyala requested a review from fs-eire fs-eire 2 years ago
satyajandhyala satyajandhyala added ep:WebGPU
satyajandhyala Updated the documentation that CoordinateTransformation mode align_co…
a14a1ab9
satyajandhyala Updated the documentation MD file.
d76af43c
satyajandhyala Trilinear resize is not supported.
e5edbeb2
satyajandhyala Fixed input/output indices access when the shape length < 2
5ff9ab03
satyajandhyala Merge branch 'main' into sajandhy/webgpu_add_resize
a655bede
satyajandhyala Steps is not part of SliceAttributes.
ac4d6328
satyajandhyala Formatting changes.
c5d19ec6
satyajandhyala satyajandhyala changed the title [Web/JS] Add Resize operator [JS/WebGPU] Add Resize operator 2 years ago
satyajandhyala satyajandhyala requested a review from guschmue guschmue 2 years ago
guschmue
guschmue approved these changes on 2023-07-31
satyajandhyala satyajandhyala merged 77b2b618 into main 2 years ago
satyajandhyala satyajandhyala deleted the sajandhy/webgpu_add_resize branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone