Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[tfg] Fix null type attribute
Type attributes can be null and the input should be `dyn_cast_or_null`. PiperOrigin-RevId: 449889247
- Loading branch information
1 parent
4b04497
commit 3a75474
Showing
2 changed files
with
26 additions
and
3 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
21 changes: 21 additions & 0 deletions
21
tensorflow/core/ir/importexport/tests/graphdef_to_mlir/invalid_backedge_input_size.pbtxt
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,21 @@ | ||
| # RUN: not tfg-translate -graphdef-to-mlir %s 2>&1 | FileCheck %s | ||
|
|
||
| # CHECK: Type attr not found | ||
|
|
||
| library { | ||
| function { | ||
| signature { | ||
| name: "\344\264\264" | ||
| description: "value" | ||
| is_distributed_communication: true | ||
| } | ||
| node_def { | ||
| op: "Const" | ||
| input: "|" | ||
| } | ||
| control_ret { | ||
| key: "" | ||
| value: "" | ||
| } | ||
| } | ||
| } |