Commit 1810de4
committed
Fixes TFTensor.GetValue for multidimensional arrays.
TFTensor.GetValue was updating the target in column major order, instead of
the (documented) row major order. This commit aligns the multidimensional array
behaviour with that when jagged: true is specified.1 parent d74e95d commit 1810de4
2 files changed
+28
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
424 | 447 | | |
425 | 448 | | |
426 | 449 | | |
| |||
573 | 596 | | |
574 | 597 | | |
575 | 598 | | |
| 599 | + | |
576 | 600 | | |
577 | 601 | | |
578 | 602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
828 | 827 | | |
829 | | - | |
| 828 | + | |
830 | 829 | | |
831 | 830 | | |
832 | 831 | | |
833 | 832 | | |
834 | | - | |
| 833 | + | |
835 | 834 | | |
836 | | - | |
| 835 | + | |
837 | 836 | | |
838 | | - | |
| 837 | + | |
839 | 838 | | |
840 | 839 | | |
841 | 840 | | |
| |||
0 commit comments