conversion from existing cuda slice to ort::Value
edgarriba opened this issue · comments
Edgar Riba commented
hi! i'm working on an example integrating the crate cudarc
to perform some image preprocessing using cuda kernels (resize, crop, normalize, etc), which i want to pipeline later to a ort
session.
I've seen IoBinding
but from the docs and examples i couldn't see any clear direction to achieve that. FYI, this the project i'm working on right now, which potentially i might adopt ort
as dnn inference engine for cv tasks.
**https://github.com/kornia/kornia-rs/blob/cuda/examples/cuda_simple/src/main.rs
Carson M. commented
With 8383879:
ort/examples/cudarc/src/main.rs
Lines 35 to 43 in af95987