-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[res] Add TensorFlowLiteRecipes for broadcast Add #14570
Conversation
Let's add 3 more recipes for broadcast Add. ONE-DCO-Signed-off-by: Dayoung Lee <dayoung.lee@samsung.com>
operand { | ||
name: "ifm2" | ||
type: FLOAT32 | ||
shape { dim: 1 dim: 2 dim: 2 dim: 3 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add_003-006 includes examples broadcasting of last dimension.
Here, I add first-mid dimension broadcasting examples.
Add_007: broadcast to dim 0
operand { | ||
name: "ifm2" | ||
type: FLOAT32 | ||
shape { dim: 1 dim: 2 dim: 3 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broadcast to dim 0, with rank 3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, in ONE/compiler/luci
and related, rank
is used for number of dimensions,
so here IIUC rank 3
can be expressed as size 3
operand { | ||
name: "ifm2" | ||
type: FLOAT32 | ||
shape { dim: 4 dim: 1 dim: 3 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broadcast to dim 1, with rank 3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Let's add 3 more recipes for broadcast Add.
ONE-DCO-Signed-off-by: Dayoung Lee dayoung.lee@samsung.com
From #14564
For #14552