sandeep-krishnamurthy commented on a change in pull request #12412: Infer dtype
in SymbolBlock import from input symbol
URL: https://github.com/apache/incubator-mxnet/pull/12412#discussion_r216058212
##########
File path: tests/python/unittest/test_gluon.py
##########
@@ -336,6 +339,34 @@ def hybrid_forward(self, F, x):
net.hybridize()
assert isinstance(net(mx.nd.zeros((16, 10))), mx.nd.NDArray)
+ # Test case to verify if initializing the SymbolBlock from a model with
params
+ # other than fp32 param dtype.
+
+ # 1. Load a resnet model, cast it to fp64 and export
+ tmp = tempfile.mkdtemp()
Review comment:
@marcoabreu - Can you please confirm if my understanding is correct? If not,
I will add code to delete the temp directory created in the tests. Also, I see
similar behavior in all other tests, where it creates temp dir, but, assumes,
it will be cleaned up the system.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services