code: def test_rmatmul():
      x = torch.rand(2, 5)
      y = torch.rand(4, 2)
      enc_x = pk.encrypt_tensor(x)
      enc_z = torch.rmatmul_f(enc_x, y)
      z = sk.decrypt_tensor(enc_z)
      assert torch.allclose(z, torch.matmul(y, x))
  
file_path: FATE/python/fate/test/test_vertor_paillier.py
imports: import torch
  from fate.arch import Context
label_desc: Use image node_id 6 for calling a global function with example usage: test_rmatmul() without return types