hgt312 opened a new issue #18004: Wrong result when using new numpy ffi in deferred compute URL: https://github.com/apache/incubator-mxnet/issues/18004 Find it in CI result of https://github.com/apache/incubator-mxnet/pull/17958. ## Reproduce: Sample code, use master branch ```python import mxnet as mx import mxnet._deferred_compute as dc from mxnet import np, npx npx.set_np() with dc.context(): a = np.ones((2, 2)) b = np.tril(a, 1) c = np.tril(a, -1) sym = dc.get_symbol([b, c], sym_cls=mx.sym.np._Symbol) res = sym.bind(mx.context.current_context(), args={}).forward() res ``` Results: ``` [ [[1. 1.] [1. 1.]] <NDArray 2x2 @cpu(0)>, [[1. 1.] [1. 1.]] <NDArray 2x2 @cpu(0)>] ``` If replace `_api_internal.tril` by `_npi.tril`, the result is right. @leezu Can you take a look at this?
---------------------------------------------------------------- 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
