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
Hi,
I'm tring to test on my model to encode an image. I got a [1, 400, 400 3] tensorBuffer ("hidden_img" below) after forwarding but I want to squeeze the tensor to [400, 400, 3] before calling TensorImage.fromTensorBuffer( tensorBuffer ). Is there any method to squeeze tensorBuffer like squeeze in numpy. Any suggestions would be appreciated!
Hi,
I'm tring to test on my model to encode an image. I got a [1, 400, 400 3] tensorBuffer ("hidden_img" below) after forwarding but I want to squeeze the tensor to [400, 400, 3] before calling
TensorImage.fromTensorBuffer( tensorBuffer )
. Is there any method to squeeze tensorBuffer likesqueeze in numpy
. Any suggestions would be appreciated!The text was updated successfully, but these errors were encountered: