srkreddy1238 commented on code in PR #14010:
URL: https://github.com/apache/tvm/pull/14010#discussion_r1122648237


##########
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:
   May be a bit tricky. We need to craft a graph and inspect the result ops. 
Let me try what we can do here.



-- 
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]

Reply via email to