rwth-i6 / returnn

The RWTH extensible training framework for universal recurrent neural networks
http://returnn.readthedocs.io/
Other
348 stars 130 forks source link

`DotLayer` could infer `var1`/`var2` automatically #737

Closed albertz closed 2 years ago

albertz commented 2 years ago

Just like GatherLayer, where the shared dims are also inferred as "common" dims between inputs and positions.

Similarly, I would also want DotLayer to infer the var1/var2 dims automatically (as in #636).

Originally posted by @Zettelkasten in https://github.com/rwth-i6/returnn/issues/691#issuecomment-932100886

albertz commented 2 years ago

Duplicate of #738, closing this one.