roywei commented on issue #10775: RGB to gray ops URL: https://github.com/apache/incubator-mxnet/issues/10775#issuecomment-386170200 @pribadihcr , no we currently rely on open cv's implementation, you could follow tf.image.rgb_to_grayscale's [implementation](https://github.com/tensorflow/tensorflow/blob/r1.8/tensorflow/python/ops/image_ops_impl.py#L1278) to do something similar on NDArrays. Refer to [expand_dim](https://mxnet.incubator.apache.org/api/python/ndarray/ndarray.html#mxnet.ndarray.NDArray.expand_dims), and maybe convert to numpy array and use [tensordot](https://docs.scipy.org/doc/numpy-1.14.0/reference/generated/numpy.tensordot.html) if necessary. (not sure if mx.nd.dot is same as tensordot with axis =[-1, -1]) @sandeep-krishnamurthy could you help label feature request, NDArray? Thanks
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services