-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
Description
This was discussed in Chromium code review: https://chromium-review.googlesource.com/c/chromium/src/+/6701775/comment/7d6966c4_2a5487e3/, where @fdwr proposed to support uint8 input for resample2d for image input
For uint8, currently resample2d is specified to take float16/float32, and so uint8 couldn't reach here anyway. Though, I agree that adding uint8 to WebNN resample makes sense (and maybe even int8), since most incoming pixel data is 8-bit, and this allows the graph to directly accept pixel data to apply any transformations to floating point, without requiring each caller to manually do that outside graph processing.
Reactions are currently unavailable