TaoLv commented on issue #15419: Can't install mxnet with mkldnn,Error: 
undefined symbol: mkldnn_primitive_desc_query_memory_d
URL: 
https://github.com/apache/incubator-mxnet/issues/15419#issuecomment-507167696
 
 
   I mean:
   ```
   import mxnet as mx
   import numpy as np
   
   num_filter = 32
   kernel = (3, 3)
   pad = (1, 1)
   shape = (32, 32, 256, 256)
   
   x = mx.sym.Variable('x')
   w = mx.sym.Variable('w')
   y = mx.sym.Convolution(data=x, weight=w, num_filter=num_filter, 
kernel=kernel, no_bias=True, pad=pad)
   exe = y.simple_bind(mx.cpu(), x=shape)
   
   exe.arg_arrays[0][:] = np.random.normal(size=exe.arg_arrays[0].shape)
   exe.arg_arrays[1][:] = np.random.normal(size=exe.arg_arrays[1].shape)
   
   exe.forward(is_train=False)
   o = exe.outputs[0]
   t = o.asnumpy()
   ```

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