def METHOD_NAME():
  return ops.get_default_graph().capture_call_time_value(
      closure=lambda: constant_op.constant(_replica_index.current),
      spec=tensor_spec.TensorSpec((), dtypes.int32),
      key=_replica_id_key)