Skip to content

Commit

Permalink
[res] Introduce Conv2D_006 for extended Buffer (#13907)
Browse files Browse the repository at this point in the history
This will introduce Conv2D_006 recipe for extended Buffer testing.

ONE-DCO-1.0-Signed-off-by: SaeHie Park <[email protected]>
  • Loading branch information
seanshpark authored Sep 3, 2024
1 parent dfdce91 commit 647d32d
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions res/TensorFlowLiteRecipes/Conv2D_006/test.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# test to store as buffer data to outside of flatbuffer

operand {
name: "ifm"
type: FLOAT32
shape { dim: 1 dim: 4 dim: 3 dim: 2 }
}
operand {
name: "ker"
type: FLOAT32
shape { dim: 2 dim: 2 dim: 2 dim: 2 }
filler {
tag: "explicit"
arg: "1" arg: "2" arg: "-3" arg: "-4"
arg: "-5" arg: "6" arg: "-7" arg: "8"
arg: "4" arg: "-2" arg: "3" arg: "-1"
arg: "-8" arg: "-6" arg: "7" arg: "5"
}
}
operand {
name: "bias"
type: FLOAT32
shape { dim: 2 }
filler {
tag: "explicit"
arg: "1"
arg: "2"
}
}
operand {
name: "ofm"
type: FLOAT32
shape { dim: 1 dim: 2 dim: 2 dim: 2 }
}
operation {
type: "Conv2D"
conv2d_options {
padding: VALID
stride_w: 1
stride_h: 2
dilation_w_factor: 1
dilation_h_factor: 1
activation: RELU
}
input: "ifm"
input: "ker"
input: "bias"
output: "ofm"
}
input: "ifm"
output: "ofm"
ext_offset: true

0 comments on commit 647d32d

Please sign in to comment.