You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let say I define a global tensor t1, where shape is [1, 12, 2000, 112], and the actual input tensor t2 shape is [1, 12, 40, 112]. I have copied the actual value of t2 to t1 using _copy, and in the inner model logic, I use slice to get the actual content, like t1[:, :, :40, :].
However, I found this does not work in TensorRT, but works in ONNX. So how can I deal with this ?
The text was updated successfully, but these errors were encountered:
Let say I define a global tensor
t1
, where shape is[1, 12, 2000, 112]
, and the actual input tensort2
shape is[1, 12, 40, 112]
. I have copied the actual value oft2
tot1
using_copy
, and in the inner model logic, I use slice to get the actual content, liket1[:, :, :40, :]
.However, I found this does not work in TensorRT, but works in ONNX. So how can I deal with this ?
The text was updated successfully, but these errors were encountered: