Unit test with multiple operators is it possible? #11076
Answered
by
hariharans29
georgen117
asked this question in
Other Q&A
-
Is there a way to write a unit test that takes multiple operators. For example if I want to test the output of is there a way to specify a graph and the 3 inputs needed to satisfy the graph as well as the expected output in a unit test? The closest I have seen to this is in the optimizer/graph_transformer_test.cc but it optimizes the graph never checks the actual output. |
Beta Was this translation helpful? Give feedback.
Answered by
hariharans29
Mar 31, 2022
Replies: 1 comment 1 reply
-
By inheriting from |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
georgen117
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By inheriting from
OpTester
and overridingAddNodes()
- like this ?