jax-ml/jax

lax.conv_transpose has different convention than TF, document it and make switching easy?

Aperta

#14.337 aperta il 7 feb 2023

 (11 commenti) (0 reazioni) (0 assegnatari)Python (3738 fork)github user discovery
documentationenhancementgood first issue

Metriche repository

Star
 (36.174 stelle)
Metriche merge PR
 (Merge medio 2g 19h) (439 PR mergiate in 30 g)

Descrizione

See screenshot:

Though the example uses Haiku, Haiku is just calling through to lax.conv_transpose.

The difference is in reversing the spatial axes of the kernel.

We can do at least two things to make this less surprising and more easily fixable:

  1. document the difference, and
  2. add an argument to lax.conv_transpose to instead use the TF convention.

Guida contributor