ggml-org/ggml

Unexpected behavior for GGML_MEAN

Open

#1 005 ouverte le 2 nov. 2024

Voir sur GitHub
 (10 commentaires) (2 réactions) (0 assignés)C++ (1 646 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (14 741 stars)
Métriques de merge PR
 (Merge moyen 33m) (12 PRs mergées en 30 j)

Description

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).

Guide contributeur