code: def test_r2plus1d18_video_encoder(self):
      config = OmegaConf.structured(
          encoders.R2Plus1D18VideoEncoder.Config(pretrained=False)
      )
      encoder = encoders.R2Plus1D18VideoEncoder(config)
      x = torch.rand((1, 3, 16, 112, 112))
      output = encoder(x)
      self.assertEqual(output.size(-1), config.out_dim)
  
imports: import tempfile
  import unittest
  import torch
  from mmf.modules import encoders
  from omegaconf import OmegaConf
  from tests.test_utils import setup_proxy, skip_if_no_pytorchvideo, skip_if_old_transformers
  from torch import nn
label_desc: Use image node_id 10 for calling the TestEncoders obj's underlying member method code with example usage: obj.test_r2plus1d18_video_encoder() without return types