wms2537 opened a new issue #20066:
URL: https://github.com/apache/incubator-mxnet/issues/20066


   ## Description
   Is it possible to implement a custom operator in C++ for mxnet which takes 
in a buffer as input instead of ndarray?  I think it would be good to be able 
to implement custom image decoders that straight away decode data into ndarray.
   
   I tried following the instructions 
[here](https://mxnet.apache.org/versions/master/api/faq/add_op_in_backend#an-operator-example)
 but it seems to require ndarray type for the data input.
   
   An example is the [jpeg2dct](https://github.com/uber-research/jpeg2dct) 
project which decodes jpeg buffer into numpy/tensorflow data types. This 
extracts the dct coefficients from the jpeg image and load it into numpy array 
or tensorflow tensor. 
   
   ## References
   - https://github.com/uber-research/jpeg2dct


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to