[code-reflection] RFR: Shape auto-dimension calculation from data size
    Adam Sotona 
    asotona at openjdk.org
       
    Wed Mar 12 06:52:27 UTC 2025
    
    
  
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.
-------------
Commit messages:
 - Shape auto-dimension calculation from data size
Changes: https://git.openjdk.org/babylon/pull/347/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=347&range=00
  Stats: 32 lines in 2 files changed: 29 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/babylon/pull/347.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/347/head:pull/347
PR: https://git.openjdk.org/babylon/pull/347
    
    
More information about the babylon-dev
mailing list