-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This pr adds a CircleRecipe for GRU op. ONE-DCO-1.0-Signed-off-by: Artem Balyshev <[email protected]>
- Loading branch information
Artem Balyshev
committed
Mar 19, 2024
1 parent
dc8e98c
commit 78cbbaf
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
operand { | ||
name: "ifm" | ||
type: FLOAT32 | ||
shape { dim: 3 dim: 1 dim: 2 } | ||
} | ||
operand { | ||
name: "hidden_hidden" | ||
type: FLOAT32 | ||
shape { dim: 12 dim: 4 } | ||
filler { | ||
tag: "gaussian" | ||
arg: "0.0" | ||
arg: "1.0" | ||
} | ||
} | ||
operand { | ||
name: "hidden_hidden_bias" | ||
type: FLOAT32 | ||
shape { dim: 12 } | ||
filler { | ||
tag: "gaussian" | ||
arg: "0.0" | ||
arg: "1.0" | ||
} | ||
} | ||
operand { | ||
name: "hidden_input" | ||
type: FLOAT32 | ||
shape { dim: 12 dim: 2 } | ||
filler { | ||
tag: "gaussian" | ||
arg: "0.0" | ||
arg: "1.0" | ||
} | ||
} | ||
operand { | ||
name: "hidden_input_bias" | ||
type: FLOAT32 | ||
shape { dim: 12 } | ||
filler { | ||
tag: "gaussian" | ||
arg: "0.0" | ||
arg: "1.0" | ||
} | ||
} | ||
operand { | ||
name: "state" | ||
type: FLOAT32 | ||
shape { dim: 1 dim: 4 } | ||
filler { | ||
tag: "gaussian" | ||
arg: "0.0" | ||
arg: "1.0" | ||
} | ||
} | ||
operand { | ||
name: "ofm" | ||
type: FLOAT32 | ||
shape { dim: 1 dim: 1 dim: 4 } | ||
} | ||
operation { | ||
type: "GRU" | ||
circle_gru_options { | ||
activation: NONE | ||
return_sequences: false | ||
time_major: false | ||
} | ||
input: "ifm" | ||
input: "hidden_hidden" | ||
input: "hidden_hidden_bias" | ||
input: "hidden_input" | ||
input: "hidden_input_bias" | ||
input: "state" | ||
output: "ofm" | ||
} | ||
input: "ifm" | ||
output: "ofm" |
Empty file.