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