class_docstr: A class for rendering a batch of heterogeneous meshes. The class should
  be initialized with a rasterizer (a MeshRasterizer or a MeshRasterizerOpenGL)
  and shader class which each have a forward function.
code: def to(self, device):
      # Rasterizer and shader have submodules which are not of type nn.Module
      self.rasterizer.to(device)
      self.shader.to(device)
      return self
  
file_path: pytorch3d/pytorch3d/renderer/mesh/renderer.py
imports: from typing import Tuple
  import torch
  import torch.nn
  from ...structures.meshes import Meshes
label_desc: Use image node_id 2 for calling the MeshRenderer obj's underlying member method code with example usage: obj.to(device) and returns: self