libref, libavx, libr4d: conv1d's stride and cu_div, and vq_encode -- a causal codec encoder's downsampling (the left pad the reach less the stride, every sequence a whole number of strides, the bounds read in samples at every rate) and one step of its residual quantiser, the code of greatest cosine and the residual it leaves (Fish Audio's codec encoding a reference)

This commit is contained in:
zivius committed 2026-10-21 01:00:13 +02:00
1 parent 00f9703892
commit 4e750fed01
15 files changed
+673 -110

No files matched your search

+1
View File
@@ -135,6 +135,7 @@ int avx_par_force(int threads);
X(resample_nearest) X(fourier_embed) X(win_input) X(win_prep) \
X(win_finish) X(chan_split) X(interleave2) X(iota) \
X(cu_repeat) X(snake_aa) X(int_affine) X(ras_pick) \
X(vq_encode) \
/* ---- sampling, and the drafter's token walk */ \
X(sample_penalties) X(sample_dry) X(sample_temp) X(sample_topk) \
X(sample_topp) X(sample_minp) X(sample_typical) X(sample_xtc) \