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] Introduce PadV2_002 tflite recipe #13548

Merged
merged 1 commit into from
Jul 29, 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
41 changes: 41 additions & 0 deletions res/TensorFlowLiteRecipes/PadV2_002/test.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# padding with INT64, constant_values with FLOAT32, others same as PadV2_000
operand {
name: "ifm"
type: FLOAT32
shape { dim: 1 dim: 3 dim: 3 dim: 2 }
}
operand {
name: "padding"
type: INT64
shape { dim: 4 dim: 2 }
filler {
tag: "explicit"
arg: "0" arg: "0"
arg: "1" arg: "1"
arg: "2" arg: "2"
arg: "0" arg: "0"
}
}
operand {
name: "constant_values"
type: FLOAT32
shape { dim: 1 }
filler {
tag: "explicit"
arg: "1"
}
}
operand {
name: "ofm"
type: FLOAT32
shape { dim: 1 dim: 5 dim: 7 dim: 2 }
}
operation {
type: "PadV2"
input: "ifm"
input: "padding"
input: "constant_values"
output: "ofm"
}
input: "ifm"
output: "ofm"