code: def test_strip_replica_prefix():
      for name in ["my_op", "^my_op", "my_tensor:0"]:
          new_name = ops.prepend_name_scope(name, replica_prefix(12))
          assert strip_replica_prefix(new_name) == name
  
file_path: autodist/tests/test_kernels/test_common/test_utils.py
imports: import os, threading
  import tensorflow
  from tensorflow.python import ops
  from tensorflow.python import constant_op
  from tensorflow.python.ops.gen_control_flow_ops import no_op
  from autodist.kernel.common import utils
  from autodist.kernel.common.utils import replica_prefix, strip_replica_prefix
label_desc: Use image node_id 2 for calling a global function with example usage: test_strip_replica_prefix() without return types