You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/02/01 22:03:15 UTC

[GitHub] [incubator-mxnet] leezu commented on a change in pull request #19812: [2.0.alpha] fixed backend_opts to be empty dictionary instead of None

leezu commented on a change in pull request #19812:
URL: https://github.com/apache/incubator-mxnet/pull/19812#discussion_r568171085



##########
File path: python/mxnet/gluon/block.py
##########
@@ -1052,7 +1052,7 @@ def __init__(self):
         self._callback = None
         self._monitor_all = False
         self._backend = None
-        self._backend_opts = {}
+        self._backend_opts = dict()

Review comment:
       The only exception may be function / method arguments




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org