You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand the broadcasting semantics in GGML, since they seem to differ a bit from the numpy/pytorch semantics:
For binary operations, it seems that only src1 can be broadcasted (src0 and dst must match)
The broadcast in GGML seems to generalize the repeat broadcasting, in addition to the 1->N broadcasting (ex. numpy), it also supports M->N, when M is less than N, and it's repeated up to N. Does N have to be a strict multiple of M?
Is my interpretation of the current implementation right?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to understand the broadcasting semantics in GGML, since they seem to differ a bit from the numpy/pytorch semantics:
Is my interpretation of the current implementation right?
Beta Was this translation helpful? Give feedback.
All reactions