forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch added two improvments: - allow the dtype to be assigned to the port directly in the TF op definition. These dtypes will be converted to speical attributes and we add them to the composition function directly; - deduplicate the external function definitions. Multiple external function definitions were emitted if a new composition function is referred by using its python function. Unit tests are updated. PiperOrigin-RevId: 380229692 Change-Id: Icffde90dafb4a0dd2df213410c9cf1d8317464fd
- Loading branch information
1 parent
a94c43a
commit 0d9d692
Showing
2 changed files
with
25 additions
and
16 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
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