[code-reflection] Integrated: Shape auto-dimension calculation from data size

Adam Sotona asotona at openjdk.org
Tue Mar 25 10:44:19 UTC 2025


On Wed, 12 Mar 2025 06:47:15 GMT, Adam Sotona <asotona at openjdk.org> wrote:

> Implemented auto-dimension calculation from data size.
> 
> Shaped tensors construction required manual shape calculation based on the actual tensor data.
> This patch allows to set one of the shape dimensions to -1 and its size is automatically calculated from the actual tensor data size.

This pull request has now been integrated.

Changeset: 82e9f905
Author:    Adam Sotona <asotona at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/82e9f90562b8b40e52f0feb766bef3d9f9fcad84
Stats:     32 lines in 2 files changed: 29 ins; 1 del; 2 mod

Shape auto-dimension calculation from data size

-------------

PR: https://git.openjdk.org/babylon/pull/347


More information about the babylon-dev mailing list