[JS/Web] Added Uniforms support to binary ops. #18260
qjia7
commented
on 2023-11-03
qjia7
commented
on 2023-11-03
satyajandhyala
marked this pull request as ready for review 2 years ago
qjia7
commented
on 2023-11-06
qjia7
approved these changes
on 2023-11-06
Added Uniforms support to binary ops.
8f109b42
Pass vectorize flag to suppress generating unnecessary shapes and str…
21f525db
Added isBroadcast, isAOneElement, isBOneElement and vectorize variabl…
c23f3307
Replaced caloffset* function with broadcastedIndicesToOffset.
dcdf5c59
Replaced isBroadcast flag with !vectorize to determine to set useShap…
b55c3a8e
Removed unused immport.
8fc73851
Removed unused broadcastImpl.
51e67227
Fixed lint error
e0971944
Fix lint error.
a14f9d9e
Renamed vectorize flag as skip_shape_strides_variable.
4cecb3e9
Fixed condition to skip shape and strides variables with input/output…
73c929e0
Revert "Renamed vectorize flag as skip_shape_strides_variable."
d879e98c
Revert "Pass vectorize flag to suppress generating unnecessary shapes…
b54aa451
Revert "Replaced isBroadcast flag with !vectorize to determine to set…
41859acb
Format
47b04cbe
Check if the length of dims is > 0.
0a43dcd3
guschmue
dismissed these changes
on 2023-11-06
Use type info in case the input is a scalar.
0672f8f3
qjia7
commented
on 2023-11-07
guschmue
approved these changes
on 2023-11-07
satyajandhyala
deleted the sajandhy/webgpu_unifroms_suport_binary_ops branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub