class_docstr: This class tests all member functions of crypten package
code: def test_batched_broadcast(self) -> None:
      sizes = [(), (1,), (5,), (5, 5), (5, 5, 5)]
      for rank in range(self.world_size):
          if self.rank == rank:
              tensors = [torch.ones(size) for size in sizes]
          else:
              tensors = [torch.zeros(size) for size in sizes]
  
          tensors = comm.get().broadcast(tensors, rank, batched=True)
          self.assertTrue(isinstance(tensors, list))
          for tensor in tensors:
              self.assertTrue(torch.is_tensor(tensor))
              self.assertTrue(tensor.eq(1).all())
  
imports: import unittest
  import crypten
  import crypten.communicator
  import numpy
  import torch
  import torch.distributed
  import torch.nn
  import torch.nn.functional
  from crypten.common import serial
  from crypten.config import cfg
  from test.multiprocess_test_case import get_random_test_tensor, MultiProcessTestCase
label_desc: Use image node_id 15 for calling the TestCommunicator obj's underlying member method code with example usage: obj.test_batched_broadcast() without return types