pub(crate) fn py_sinusoidal_position_encode( py: Python<'_>, timestamps: PyReadonlyArray1<'_, f64>, d_model: usize, ) -> Py<PyArray1<f64>>