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_r216057808
##########
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:
Right. Thanks. I meant, temp gets automatically cleaned up after all the
tests (test session).
----------------------------------------------------------------
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