How can I get the cumulative density function of Tensor X which is evaluated at value V?
Here is the equivalent code in python.
ecdf =  statsmodels.distributions.empirical_distribution.ECDF(X)
Val= ecdf(V)