Skip to content
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] Fix shape of Net_ZeroDim_001 #13753

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions res/TensorFlowLiteRecipes/Net_ZeroDim_001/test.recipe
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#
# This was generated by tflchef-reverse from res/TensorFlowTests/NET_0043
# UPDATE: shape_signature was manually inserted to work with dynamic shapes.
#

operand {
Expand Down Expand Up @@ -31,6 +32,11 @@ operand {
dim: 0
dim: 512
}
shape_signature {
dim: 1
dim: -1
dim: 512
}
Comment on lines +35 to +39
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may have to revise comment

This was generated by tflchef-reverse from res/TensorFlowTests/NET_0043

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing out. I've updated the comment.

}
operand {
name: "transpose1"
Expand All @@ -41,6 +47,12 @@ operand {
dim: 0
dim: 64
}
shape_signature {
dim: 1
dim: 8
dim: -1
dim: 64
}
filler {
tag: "explicit"
}
Expand All @@ -61,6 +73,16 @@ operand {
name: "add"
type: FLOAT32
shape {
dim: 0
dim: 8
dim: 0
dim: 64
}
shape_signature {
dim: -1
dim: 8
dim: -1
dim: 64
Comment on lines +76 to +85
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the shape of output. The output shape should match with the new shape inference logic in #13750.

}
}
operation {
Expand Down