pub fn cross_entropy_py( p: &Bound<'_, PyArray1<f64>>, q: &Bound<'_, PyArray1<f64>>, ) -> PyResult<f64>
Compute cross-entropy between two probability distributions