ggml-org/ggml

Unexpected behavior for GGML_MEAN

Open

#1.005 geöffnet am 2. Nov. 2024

Auf GitHub ansehen
 (10 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)C++ (1.646 Forks)auto 404
good first issue

Repository-Metriken

Stars
 (14.741 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 33m) (12 gemergte PRs in 30 T)

Beschreibung

The usual behavior for the "mean" operation in numerical frameworks is a reduction of a tensor to a single value. However, in GGML this operation instead calculates the mean per row. This is I think unexpected behavior and the naming is also inconsistent with GGML_SUM (per tensor) and GGML_SUM_ROWS (per row).

Contributor Guide