code: def test_sync(self, host, client):
      weights = torch.randn(4096, 4096)
  
      def linear(inputs):
          return (weights * inputs).sum(-1)
  
      host.define("linear", linear)
  
      client.set_timeout(60)
  
      inputs = torch.randn(16, 4096)
  
      client.sync("host", "linear", inputs.unsqueeze(1))
  
file_path: moolib/test/unit/test_tensors.py
imports: import time
  import warnings
  import torch
  import pytest
  import moolib
label_desc: Use image node_id 3 for calling the TestMoolibSpeeds obj's underlying member method code with example usage: obj.test_sync(host, client) and returns: unknown