zheng-da commented on a change in pull request #12502: [NGRAPH] MXNet - nGraph 
initial integration
URL: https://github.com/apache/incubator-mxnet/pull/12502#discussion_r221326637
 
 

 ##########
 File path: include/mxnet/ndarray.h
 ##########
 @@ -783,6 +792,11 @@ class NDArray {
     /*! This is created when data is stored in MKLDNN format.
      */
     std::shared_ptr<MKLDNNMemory> mkl_mem_;
+#endif
+#if MXNET_USE_NGRAPH == 1
+    /*! this is set if ngraph tensorview is associated with this ndarray
+     */
+    std::shared_ptr<ngraph::runtime::TensorView> tensor_view_;
 
 Review comment:
   it's kind of weird to me that the nGraph code relies on MXNet.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to