code: def test_implicit_partition_servers(self) -> None:
      ranks = ProcessRanks.from_num_invocations(3, -1)
      self.assertEqual(ranks.trainers, [0, 1, 2])
      self.assertEqual(ranks.parameter_servers, [3, 4, 5])
      self.assertEqual(ranks.parameter_clients, [6, 7, 8])
      self.assertEqual(ranks.lock_server, 9)
      self.assertEqual(ranks.partition_servers, [10, 11, 12])
  
imports: from unittest import main, TestCase
  from torchbiggraph.distributed import ProcessRanks
label_desc: Use image node_id 1 for calling the TestProcessRanks obj's underlying member method code with example usage: obj.test_implicit_partition_servers() without return types