code: def test_faces_verts_textures(self):
      device = torch.device("cuda:0")
      verts = torch.randn((2, 4, 3), dtype=torch.float32, device=device)
      faces = torch.tensor(
          [[[2, 1, 0], [3, 1, 0]], [[1, 3, 0], [2, 1, 3]]],
          dtype=torch.int64,
          device=device,
      )
  
      # define TexturesVertex
      verts_texture = torch.rand(verts.shape, device=device)
      textures = TexturesVertex(verts_features=verts_texture)
  
      # compute packed faces
      ff = faces.unbind(0)
      faces_packed = torch.cat([ff[0], ff[1] + verts.shape[1]])
  
      # face verts textures
      faces_verts_texts = textures.faces_verts_textures_packed(
          faces_packed
      )
  
      verts_texts_packed = torch.cat(verts_texture.unbind(0))
      faces_verts_texts_packed = verts_texts_packed[faces_packed]
  
      self.assertClose(faces_verts_texts_packed, faces_verts_texts)
  
imports: import unittest
  import torch
  import torch.nn.functional
  from pytorch3d.renderer.mesh.rasterizer import Fragments
  from pytorch3d.renderer.mesh.textures import _list_to_padded_wrapper, TexturesAtlas, TexturesUV, TexturesVertex
  from pytorch3d.renderer.mesh.utils import pack_rectangles, pack_unique_rectangles, Rectangle
  from pytorch3d.structures import list_to_packed, Meshes, packed_to_list
  from .common_testing import TestCaseMixin
  from .test_meshes import init_mesh
label_desc: Use image node_id 4 for calling the TestTexturesVertex obj's underlying member method code with example usage: obj.test_faces_verts_textures() without return types