jax-ml/jax

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

开放

#14,337 创建于 2023年2月7日

 (11 条评论) (0 个反应) (0 位负责人)Python (3,743 个派生)github user discovery
documentationenhancementgood first issue

仓库指标

星标
 (36,206 个星标)
PR 合并指标
 (平均合并 2天 19小时) (30 天内合并 439 个 PR)

描述

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.

贡献者指南