Skip to content

Commit

Permalink
Add Tensorflow Test Recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
dayo09 committed Jan 21, 2025
1 parent f7f5d8a commit 2890d36
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 0 deletions.
32 changes: 32 additions & 0 deletions res/TensorFlowLiteRecipes/Add_007/test.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
operand {
name: "ifm1"
type: FLOAT32
shape { dim: 2 dim: 2 dim: 2 dim: 3 }
}
operand {
name: "ifm2"
type: FLOAT32
shape { dim: 1 dim: 2 dim: 2 dim: 3 }
filler {
tag: "explicit"
arg: "1" arg: "2" arg: "-3" arg: "-1"
arg: "1" arg: "2" arg: "-3" arg: "-1"
arg: "1" arg: "2" arg: "-3" arg: "-1"
}
}
operand {
name: "ofm"
type: FLOAT32
shape { dim: 2 dim: 2 dim: 2 dim: 3 }
}
operation {
type: "Add"
input: "ifm1"
input: "ifm2"
output: "ofm"
add_options {
activation: NONE
}
}
input: "ifm1"
output: "ofm"
Empty file.
32 changes: 32 additions & 0 deletions res/TensorFlowLiteRecipes/Add_008/test.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
operand {
name: "ifm1"
type: FLOAT32
shape { dim: 4 dim: 2 dim: 3 }
}
operand {
name: "ifm2"
type: FLOAT32
shape { dim: 1 dim: 2 dim: 3 }
filler {
tag: "explicit"
arg: "1" arg: "2"
arg: "3" arg: "4"
arg: "-3" arg: "-1"
}
}
operand {
name: "ofm"
type: FLOAT32
shape { dim: 4 dim: 2 dim: 3 }
}
operation {
type: "Add"
input: "ifm1"
input: "ifm2"
output: "ofm"
add_options {
activation: NONE
}
}
input: "ifm1"
output: "ofm"
Empty file.

0 comments on commit 2890d36

Please sign in to comment.