Commit 0189da5
authored
Data same_dim_tags_as fix auto_create_placeholders (#1159)
Don't first create a new size placeholder and then later call declare_same_as.
Esp this is required when declare_same_as becomes stricter (#1143).
Fix wrong batch info:
The dim tag could have an old invalid batch info.
E.g. the global batch_dim when it comes from an old run.
If we really need this, we should validate the dim tag first.
But probably it's better to remove it and clean it up.
Engine reset global batch dim.1 parent a6236c5 commit 0189da5
File tree
4 files changed
+40
-26
lines changed- returnn/tf
- util
- tests
4 files changed
+40
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1293 | 1293 | | |
1294 | 1294 | | |
1295 | 1295 | | |
| 1296 | + | |
| 1297 | + | |
1296 | 1298 | | |
1297 | 1299 | | |
1298 | 1300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2823 | 2823 | | |
2824 | 2824 | | |
2825 | 2825 | | |
2826 | | - | |
2827 | | - | |
2828 | | - | |
2829 | | - | |
2830 | | - | |
2831 | 2826 | | |
2832 | 2827 | | |
2833 | 2828 | | |
| |||
2846 | 2841 | | |
2847 | 2842 | | |
2848 | 2843 | | |
2849 | | - | |
| 2844 | + | |
2850 | 2845 | | |
2851 | 2846 | | |
2852 | 2847 | | |
| |||
2893 | 2888 | | |
2894 | 2889 | | |
2895 | 2890 | | |
2896 | | - | |
2897 | | - | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
2898 | 2895 | | |
2899 | 2896 | | |
2900 | 2897 | | |
| |||
5780 | 5777 | | |
5781 | 5778 | | |
5782 | 5779 | | |
5783 | | - | |
| 5780 | + | |
5784 | 5781 | | |
5785 | 5782 | | |
5786 | 5783 | | |
| |||
5790 | 5787 | | |
5791 | 5788 | | |
5792 | 5789 | | |
5793 | | - | |
| 5790 | + | |
5794 | 5791 | | |
5795 | 5792 | | |
5796 | 5793 | | |
| |||
5808 | 5805 | | |
5809 | 5806 | | |
5810 | 5807 | | |
5811 | | - | |
5812 | | - | |
5813 | 5808 | | |
5814 | 5809 | | |
5815 | 5810 | | |
| |||
5833 | 5828 | | |
5834 | 5829 | | |
5835 | 5830 | | |
5836 | | - | |
| 5831 | + | |
5837 | 5832 | | |
5838 | 5833 | | |
5839 | 5834 | | |
| |||
5845 | 5840 | | |
5846 | 5841 | | |
5847 | 5842 | | |
5848 | | - | |
5849 | 5843 | | |
5850 | 5844 | | |
5851 | 5845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2223 | 2223 | | |
2224 | 2224 | | |
2225 | 2225 | | |
2226 | | - | |
2227 | | - | |
2228 | | - | |
2229 | | - | |
2230 | | - | |
2231 | | - | |
| 2226 | + | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
2232 | 2233 | | |
2233 | 2234 | | |
2234 | 2235 | | |
| |||
2238 | 2239 | | |
2239 | 2240 | | |
2240 | 2241 | | |
2241 | | - | |
2242 | | - | |
2243 | | - | |
2244 | | - | |
2245 | | - | |
2246 | | - | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
2247 | 2249 | | |
2248 | 2250 | | |
2249 | 2251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1243 | 1243 | | |
1244 | 1244 | | |
1245 | 1245 | | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1246 | 1262 | | |
1247 | 1263 | | |
1248 | 1264 | | |
| |||
0 commit comments