docstr: Check that padded tensors x_pad are the same as x_list tensors.
docstr_tok: ["Check","that","padded","tensors","x_pad","are","the","same","as","x_list","tensors","."]
code: def _check_padded(self, x_pad, x_list, grid_sizes):
      """
      Check that padded tensors x_pad are the same as x_list tensors.
      """
      num_volumes = len(x_list)
      for i in range(num_volumes):
          self.assertClose(
              x_pad[i][
                  :,
                  : grid_sizes[i][0],
                  : grid_sizes[i][1],
                  : grid_sizes[i][2],
              ],
              x_list[i],
          )
  
imports: import copy
  import itertools
  import random
  import unittest
  import numpy
  import torch
  from pytorch3d.structures.volumes import VolumeLocator, Volumes
  from pytorch3d.transforms import Scale
  from .common_testing import TestCaseMixin
label_desc: Use image node_id 13 for calling the TestVolumes obj's underlying member method code with example usage: obj._check_padded(x_pad, x_list, grid_sizes) without return types