ggml-org/ggml

Unexpected behavior for GGML_MEAN

Open

#1005 aperta il 2 nov 2024

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

Metriche repository

Star
 (14.741 star)
Metriche merge PR
 (Merge medio 33m) (12 PR mergiate in 30 g)

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