mbrookhart commented on a change in pull request #12502: [NGRAPH] MXNet -
nGraph initial integration
URL: https://github.com/apache/incubator-mxnet/pull/12502#discussion_r221338630
##########
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:
@zheng-da nGraph proper doesn't depend on MXNet, but the glue code that
translates between IRs and provides an execution interface to MXNet does. We
separated that code into `3rdparty/ngraph-mxnet-bridge` to reduce the burden on
MXNet's build system and reduce the changes to MXNet's other execution paths.
----------------------------------------------------------------
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