heat icon indicating copy to clipboard operation
heat copied to clipboard

Features/1383 Add vmap functionality for vectorization across split dimension

Open mrfh92 opened this issue 8 months ago • 10 comments

Due Diligence

  • General:
  • Implementation:
    • [x] unit tests: all split configurations tested
    • [x] unit tests: multiple dtypes tested
    • [x] documentation updated where needed

Description

Issue/s resolved: #1383 The implemented vmap-functionality is similar to the one of PyTorch. It allows vectorized application of PyTorch-functions to one or multiple DNDarrays with vectorization taking place along the respective split axes.

An artificial example, how vmap does work, is found in the tests.

Type of change

new feature

Does this change modify the behaviour of other functions? If so, which?

no

mrfh92 avatar Jun 07 '24 09:06 mrfh92