ggml-org/ggml

Unexpected behavior for GGML_MEAN

Open

#1.005 aberto em 2 de nov. de 2024

Ver no GitHub
 (10 comments) (2 reactions) (0 assignees)C++ (1.646 forks)auto 404
good first issue

Métricas do repositório

Stars
 (14.741 stars)
Métricas de merge de PR
 (Mesclagem média 33m) (12 fundiu PRs em 30d)

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

Guia do colaborador