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

 ##########
 File path: include/mxnet/ndarray.h
 ##########
 @@ -744,6 +748,11 @@ class NDArray {
   NDArray MKLDNNDataReshape(const TShape &shape) const;
 #endif
 
+#if MXNET_USE_NGRAPH == 1
+    // create and return tensor_view with this ndarray mem
+    std::shared_ptr<ngraph::runtime::TensorView> &create_tensor_view();
+#endif
 
 Review comment:
   This method is called in the code in `3rdparty/ngraph-mxnet-bridge`.

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

Reply via email to