-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add op_compat for the seqpool_cvm_concat_fuse_pass, test=develop
- Loading branch information
1 parent
009a163
commit 41bfad5
Showing
4 changed files
with
129 additions
and
1 deletion.
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
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
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,39 @@ | ||
type: "cvm" | ||
def { | ||
inputs { | ||
name: "X" | ||
} | ||
inputs { | ||
name: "CVM" | ||
} | ||
outputs { | ||
name: "Y" | ||
} | ||
attrs { | ||
name: "use_cvm" | ||
type: BOOLEAN | ||
} | ||
} | ||
extra { | ||
attrs { | ||
name: "op_role" | ||
type: INT | ||
} | ||
attrs { | ||
name: "op_role_var" | ||
type: STRINGS | ||
} | ||
attrs { | ||
name: "op_namescope" | ||
type: STRING | ||
} | ||
attrs { | ||
name: "op_callstack" | ||
type: STRINGS | ||
} | ||
attrs { | ||
name: "op_device" | ||
type: STRING | ||
} | ||
} | ||
|
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,47 @@ | ||
type: "sequence_pool" | ||
def { | ||
inputs { | ||
name: "X" | ||
} | ||
outputs { | ||
name: "Out" | ||
} | ||
outputs { | ||
name: "MaxIndex" | ||
} | ||
attrs { | ||
name: "pooltype" | ||
type: STRING | ||
} | ||
attrs { | ||
name: "pad_value" | ||
type: FLOAT | ||
} | ||
} | ||
extra { | ||
attrs { | ||
name: "is_test" | ||
type: BOOLEAN | ||
} | ||
attrs { | ||
name: "op_role" | ||
type: INT | ||
} | ||
attrs { | ||
name: "op_role_var" | ||
type: STRINGS | ||
} | ||
attrs { | ||
name: "op_namescope" | ||
type: STRING | ||
} | ||
attrs { | ||
name: "op_callstack" | ||
type: STRINGS | ||
} | ||
attrs { | ||
name: "op_device" | ||
type: STRING | ||
} | ||
} | ||
|