Samsung / ONE

On-device Neural Engine
Other
414 stars 145 forks source link

[circle2circle] Broadcast removal for contstant inputs #7602

Open ai-moiseev opened 2 years ago

ai-moiseev commented 2 years ago

What

Implement transformation pass to expand constant node inputs following broadcasting rules.

Why

There's need to transform models with such a pattern.

Steps

seanshpark commented 2 years ago

@ai-moiseev , could you please share which models needs this and the reason?

ai-moiseev commented 2 years ago

@seanshpark This pattern appears in one of the internal models, I've emailed you link to it...

seanshpark commented 2 years ago

Thanks for the mail :)

For the record; see compiler backend issue 9567