def num_param_servers(spark):
    """ Get the number of parameter servers configured for Jupyter
    Returns:
      Number of configured parameter servers for Jupyter
    """
    sc = spark.sparkContext
    return int(sc._conf.get("spark.tensorflow.num.ps"))