Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[MXNET-432] Add Foreach #11531

Merged
merged 135 commits into from
Jul 2, 2018
Merged

[MXNET-432] Add Foreach #11531

merged 135 commits into from
Jul 2, 2018

Commits on Jul 2, 2018

  1. Test input a graph.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    e86d92c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7eacfab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6874f7d View commit details
    Browse the repository at this point in the history
  4. Remove print.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    8f5e62e View commit details
    Browse the repository at this point in the history
  5. add test code for foreach.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    1dd35a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1f117cb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cc29fc1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    036aada View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    84e0e24 View commit details
    Browse the repository at this point in the history
  10. Fix the order of inputs.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    f2a28f0 View commit details
    Browse the repository at this point in the history
  11. hide C version of foreach.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    1c4cf0e View commit details
    Browse the repository at this point in the history
  12. fix a bug temporarily.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    9aa896d View commit details
    Browse the repository at this point in the history
  13. add test with lstm.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    6784408 View commit details
    Browse the repository at this point in the history
  14. Test free variables.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    f488647 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    d9b0c50 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1188d97 View commit details
    Browse the repository at this point in the history
  17. Handle free variables.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    c0cd6ac View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    74d280b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2bc80e3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    68faa17 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    3751ca7 View commit details
    Browse the repository at this point in the history
  22. print unnecessary print.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    b98e06d View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    fc575fe View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    37da6fb View commit details
    Browse the repository at this point in the history
  25. Fix imperative foreach

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    f41235c View commit details
    Browse the repository at this point in the history
  26. Fix a minor problem.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    214c1c2 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    9aabc74 View commit details
    Browse the repository at this point in the history
  28. update TODO.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    7fc0155 View commit details
    Browse the repository at this point in the history
  29. make foreach op use FStatefulComputeEx.

    TODO we need to change stateful executor to handle subgraph.
    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    0d3613a View commit details
    Browse the repository at this point in the history
  30. Add backward.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    f33d0f4 View commit details
    Browse the repository at this point in the history
  31. Fix bugs.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    d82dd30 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    868c9f2 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    84e1877 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    00b8b1c View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    f2e324e View commit details
    Browse the repository at this point in the history
  36. Fix bugs in foreach.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    e1322d1 View commit details
    Browse the repository at this point in the history
  37. fix tests.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    98955a4 View commit details
    Browse the repository at this point in the history
  38. update tests.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    d8c9b1f View commit details
    Browse the repository at this point in the history
  39. check state shape.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    32e3b17 View commit details
    Browse the repository at this point in the history
  40. enable nested foreach.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    8caf708 View commit details
    Browse the repository at this point in the history
  41. remove print.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    d4ef381 View commit details
    Browse the repository at this point in the history
  42. fix a bug in test.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    4270032 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    b54f234 View commit details
    Browse the repository at this point in the history
  44. address comments.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    14d319b View commit details
    Browse the repository at this point in the history
  45. address comments.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    0e666a9 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    255c478 View commit details
    Browse the repository at this point in the history
  47. address comments.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    2beb3f3 View commit details
    Browse the repository at this point in the history
  48. fix lint.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    716bc6a View commit details
    Browse the repository at this point in the history
  49. Fix lint.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    dd5f862 View commit details
    Browse the repository at this point in the history
  50. add doc.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    b60157a View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    57b2ba5 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    7c49057 View commit details
    Browse the repository at this point in the history
  53. fix lint.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    1045908 View commit details
    Browse the repository at this point in the history
  54. fix lint.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    e8ec3aa View commit details
    Browse the repository at this point in the history
  55. Fix lint.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    e4f5808 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    c078cbf View commit details
    Browse the repository at this point in the history
  57. fix compile error.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    b965e6e View commit details
    Browse the repository at this point in the history
  58. address comments.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    57fcb84 View commit details
    Browse the repository at this point in the history
  59. update.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    c03c56f View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    224f3e2 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    cd67c6f View commit details
    Browse the repository at this point in the history
  62. fix include.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    742ef40 View commit details
    Browse the repository at this point in the history
  63. add a test in gluon.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    4492949 View commit details
    Browse the repository at this point in the history
  64. small fix.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    26e3e7e View commit details
    Browse the repository at this point in the history
  65. remove subgraph_name

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    6bff448 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    1e4cd45 View commit details
    Browse the repository at this point in the history
  67. work for GPU.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    7079e73 View commit details
    Browse the repository at this point in the history
  68. Fix tests.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    64f4362 View commit details
    Browse the repository at this point in the history
  69. Fix bugs caused by ctypes (#29)

    Junru Shao authored and zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    31d9112 View commit details
    Browse the repository at this point in the history
  70. Add save/load json in testcases for foreach (#30)

    Junru Shao authored and zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    601edbe View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    f4da935 View commit details
    Browse the repository at this point in the history
  72. Fix compilation.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    90b7829 View commit details
    Browse the repository at this point in the history
  73. move code.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    ae3ea22 View commit details
    Browse the repository at this point in the history
  74. Revert "remove subgraph_name"

    This reverts commit 977f562.
    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    0db16f0 View commit details
    Browse the repository at this point in the history
  75. cut graph.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    5f626ae View commit details
    Browse the repository at this point in the history
  76. rename new var nodes.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    f2c428f View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    2a69257 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    efeedd6 View commit details
    Browse the repository at this point in the history
  79. copy var nodes.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    28fe469 View commit details
    Browse the repository at this point in the history
  80. Fix getting op states.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    cf91c59 View commit details
    Browse the repository at this point in the history
  81. fix lint error.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    f2edf2a View commit details
    Browse the repository at this point in the history
  82. address comments.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    a35899f View commit details
    Browse the repository at this point in the history
  83. fix lint error.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    8c6aca0 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    ccaf388 View commit details
    Browse the repository at this point in the history
  85. fix lint error.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    25cf8ac View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    51de14c View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    3eb0bc1 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    4a0ff21 View commit details
    Browse the repository at this point in the history
  89. reuse memory.

    reuse memory between iterations in inference.
    reuse memory between mini-batches in training.
    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    8766cb2 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    97b9074 View commit details
    Browse the repository at this point in the history
  91. remove entry.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    e38b7f4 View commit details
    Browse the repository at this point in the history
  92. add benchmark for foreach.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    198bcfb View commit details
    Browse the repository at this point in the history
  93. benchmark large batch size.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    811acb3 View commit details
    Browse the repository at this point in the history
  94. Fix the benchmark for GPU.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    24fa83b View commit details
    Browse the repository at this point in the history
  95. address comments.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    550e48a View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    97d0332 View commit details
    Browse the repository at this point in the history
  97. update contrib API docs.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    0b0a36e View commit details
    Browse the repository at this point in the history
  98. support nested foreach.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    f1ff55d View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    156f1c8 View commit details
    Browse the repository at this point in the history
  100. use large dim.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    871fd3b View commit details
    Browse the repository at this point in the history
  101. update benchmark.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    b5dfc3f View commit details
    Browse the repository at this point in the history
  102. update benchmark.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    202a74c View commit details
    Browse the repository at this point in the history
  103. update benchmark.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    0606c3c View commit details
    Browse the repository at this point in the history
  104. update benchmark.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    6019de5 View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    045186d View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    484309e View commit details
    Browse the repository at this point in the history
  107. fix lint error.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    0ebd5e5 View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    a9e253d View commit details
    Browse the repository at this point in the history
  109. fix scala API.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    1f8469f View commit details
    Browse the repository at this point in the history
  110. update comments.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    25e15a0 View commit details
    Browse the repository at this point in the history
  111. fix scala.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    ff4eea0 View commit details
    Browse the repository at this point in the history
  112. fix test.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    b8aa62a View commit details
    Browse the repository at this point in the history
  113. fix attribute name.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    64e4ff6 View commit details
    Browse the repository at this point in the history
  114. move benchmark.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    d243c12 View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    3afc4d4 View commit details
    Browse the repository at this point in the history
  116. Configuration menu
    Copy the full SHA
    62901fe View commit details
    Browse the repository at this point in the history
  117. reorganize tests.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    14b8fb9 View commit details
    Browse the repository at this point in the history
  118. fix a bug of cutting NodeEntry.

    When two node entries refer to the same output of a node, we should
    create only one var node for these two node entries.
    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    f7d7f17 View commit details
    Browse the repository at this point in the history
  119. fix lint error.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    7d012d9 View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    b83253d View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    275bbf1 View commit details
    Browse the repository at this point in the history
  122. Configuration menu
    Copy the full SHA
    0e6df9a View commit details
    Browse the repository at this point in the history
  123. Configuration menu
    Copy the full SHA
    dfadc8d View commit details
    Browse the repository at this point in the history
  124. Configuration menu
    Copy the full SHA
    5e9cf5f View commit details
    Browse the repository at this point in the history
  125. Fix lint error.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    696f53c View commit details
    Browse the repository at this point in the history
  126. test diff Gluon RNN cells.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    094977d View commit details
    Browse the repository at this point in the history
  127. test all symbol RNN cells.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    7b016ae View commit details
    Browse the repository at this point in the history
  128. adjust the test precision.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    9609ce8 View commit details
    Browse the repository at this point in the history
  129. Fix a bug in getting a list of variable names.

    We can't get a list of variable names from a hashtable. The order can't
    be guaranteed. Python2 and Python3 output different orders.
    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    fa8abbd View commit details
    Browse the repository at this point in the history
  130. fix lint error.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    8e74d80 View commit details
    Browse the repository at this point in the history
  131. Test 1D array.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    2439105 View commit details
    Browse the repository at this point in the history
  132. Configuration menu
    Copy the full SHA
    53cdbfa View commit details
    Browse the repository at this point in the history
  133. fix.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    9bff317 View commit details
    Browse the repository at this point in the history
  134. fix

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    d3687ef View commit details
    Browse the repository at this point in the history
  135. add comments.

    zheng-da committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    392a7e4 View commit details
    Browse the repository at this point in the history