You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/01/16 22:41:33 UTC

[GitHub] eric-haibin-lin commented on issue #8592: Simple bind doesnt infer the provided stype for non default stypes

eric-haibin-lin commented on issue #8592: Simple bind doesnt infer the provided stype for non default stypes
URL: https://github.com/apache/incubator-mxnet/issues/8592#issuecomment-358132319
 
 
   I think that caused by a typo in the test:
   ```
   >>> xv = mx.symbol.Variable('x')
   >>> y = mx.symbol.identity(xv)
   >>> executor = y.simple_bind(ctx=mx.cpu(), x=(4, 10), **stype_dict**={'x': 'csr'})
   >>> executor.forward()
   [
   <CSRNDArray 4x10 @cpu(0)>]
   >>> outputs = executor.outputs
   >>> inputs = executor.arg_arrays
   >>>
   >>> print outputs[0].stype
   csr
   >>> print inputs[0].stype
   csr
   ```

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


With regards,
Apache Git Services