code: def test_from_labeled_rdd(spark_context):
      features = np.ones((2, 10))
      labels = np.asarray([[2.0], [1.0]]).reshape((2,))
      lp_rdd = rdd_utils.to_labeled_point(
          spark_context, features, labels, False
      )
  
      x, y = rdd_utils.from_labeled_point(lp_rdd, False, None)
      assert x.shape == features.shape
      assert y.shape == labels.shape
  
file_path: elephas/tests/utils/test_rdd_utils.py
imports: import numpy
  from elephas.utils import rdd_utils
label_desc: Use image node_id 4 for calling a global function with example usage: test_from_labeled_rdd(spark_context) without return types