TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

Can int be used as input?

Open 980202006 opened this issue 1 year ago • 1 comments

There is int type data in my inputs for indexing other data, how can I set the int type data as input, with set_input?

980202006 avatar Aug 05 '22 03:08 980202006

I don't quite get your point, can you elaborate on your question?

Perhaps https://docs.nvidia.com/deeplearning/tensorrt/api/c_api/classnvinfer1_1_1_i_tensor.html#a577d9c58f9f66282e7239e44c035749a can be helpful to you

zerollzeng avatar Aug 07 '22 11:08 zerollzeng

Thank you!

980202006 avatar Aug 17 '22 08:08 980202006