srkreddy1238 commented on code in PR #14010:
URL: https://github.com/apache/tvm/pull/14010#discussion_r1124239778
##########
tests/python/driver/tvmc/test_transform.py:
##########
@@ -70,5 +70,55 @@ def
test_layout_transform_convert_layout_pass_args(relay_conv2d, monkeypatch):
)
+def test_layout_transform_to_mixed_precision_pass_args(relay_conv2d,
monkeypatch):
+ """
+ Check the mixed precision arugments which are expected when
+ mixed precision arguments are provided.
+ """
+ mock_mixed_precision = MagicMock()
+ mock_mixed_precision.return_value =
tvm.driver.tvmc.transform.MixedPrecision([])
Review Comment:
Managed with a testcase that pass through ToMixedPrecision and checks the
dtypes across ops.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]