apeforest commented on a change in pull request #15593: Large Index Support for 
Slice
URL: https://github.com/apache/incubator-mxnet/pull/15593#discussion_r312251629
 
 

 ##########
 File path: python/mxnet/runtime.py
 ##########
 @@ -69,12 +69,18 @@ def feature_list():
     features = [lib_features_c_array[i] for i in 
range(lib_features_size.value)]
     return features
 
+
 class Features(collections.OrderedDict):
     """
     OrderedDict of name to Feature
     """
+    feature_dict = None
 
 Review comment:
   Since you are caching in ndarray.py now, I'd suggest we take this change out 
from PR. We can have a seperate PR to implement singleton properly as @larroy 
suggested.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to