code: def test_unary(ctx, t1_f32, t1_f32_sharding, op):
      assert op(t1_f32) == DTensor.from_sharding_list(
          ctx, [op(s) for s in t1_f32_sharding], num_partitions=3
      )
  
imports: import pytest
  import torch
  from fate.arch import Context
  from fate.arch.computing.backends.standalone import CSession
  from fate.arch.federation.backends.standalone import StandaloneFederation
  from fate.arch.tensor import DTensor
  from pytest import fixture
label_desc: Use image node_id 8 for calling a global function with example usage: test_unary(ctx, t1_f32, t1_f32_sharding, op) without return types