1. Replaced slow string-parsing einsum with native fused batched matmuls & broadcast operations. 2. Applied torch.compile for graph fusion and elimination of Python dispatch overhead. 3. Pre-allocated ...
A small Python package for within-sample diversity, logistic associations, and kernel-score tests with grouped observations. Functions accept numeric arrays and caller-supplied group labels. The ...