Hi all
How does the code below convert to  c++?
I need your help.
thanks all
 // batched_imgs ,pad_img tensor list 
batch_shape = [len(images)] + max_size
batched_imgs = images[0].new_full(batch_shape, 0)
    for img, pad_img in zip(images, batched_imgs):
         pad_img[: img.shape[0], : img.shape[1], : img.shape[2]].copy_(img)