ggml-org/ggml

Unexpected behavior for GGML_MEAN

Open

Aperta il 2 nov 2024

Vedi su GitHub
 (10 commenti) (2 reazioni) (0 assegnatari)C++ (14.741 star) (1646 fork)auto 404
good first issue

Descrizione

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

Guida contributor