1. 29 11月, 2019 4 次提交
    • H
      Fix Cond Bug for Nested Control Flow (#21340) · 630be319
      Huihuang Zheng 提交于
      * Commit before merging develop
      
      test=develop
      
      * Backup after working with Huihuang logs
      
      * Commit before deleting Huihuang debug loggings
      
      * Commit before debug
      
      test=develop
      
      * Fix bug commit
      
      test=develop
      
      * Backup of fixing bugs
      
      test=develop
      
      * Clean up code
      
      test=develop
      
      * Fix a bug in sum_op
      
      test=develop
      630be319
    • J
      [MKL-DNN] LRN and Pool2d (FWD) NHWC support (#21375) · cd43c444
      Jacek Czaja 提交于
      cd43c444
    • Z
    • H
      Add dygraph execution context (#20157) · ac854670
      hong 提交于
      * add_dygraph_execution_context
      
      * add dygraph infershape context and execution context; test=develop
      
      * fix imperative bug; test=develop
      
      * remove inputs outputs interface from execution context,
      because it have same function with inputNames;
      test=develop
      
      * remove tracer_test ctest; test=develop
      
      * fix split op bug; test=develop
      
      * fix unitests bug; test=develop
      
      * fix distribute test bug; test=develop
      
      * fix ngraph compile bug; test=develop
      
      * fix grad maker bug; test=develop
      
      * fix load op bugs; test=develop
      
      * fix operator.cc construct bug; test=develop
      
      * remove useless name find in operator; test=develop
      
      * add tracer_test; test=develop
      
      * fix concat, split bug; test=develop
      
      * remove tracer_test unitest; test=develop
      
      * fix attribute check bug; test=develop
      
      * add test code to fix converage; test=develop
      
      * remove useless code, change check backward input in engin; test=develop
      
      * unlock var type infer shape;test=develop
      
      * add ShareAllLoD api; test=develop
      
      * add dygraph infershape context unitest; test=develop
      
      * remove increase and decrease lod in dygraph; test=develop
      
      * addd override; test=develop
      
      * fix increase descrease lod; test=develop
      
      * fix paddle_enforce; test=develop
      
      * disable lod op dygraph check; test=develop
      
      * fix paddle enforce error; test=develop
      
      * add comment for op_registry and OperatorBase; test=develop
      
      * optimize the comment of op_registry; test=develop
      
      * fix format of comment; test=develop
      
      * fix format of comment; test=develop
      
      * optimize the format of comment; test=develop
      
      * optimize the format of the comment; test=develop
      
      * optimize comment of op_registry; test=develop
      ac854670
  2. 28 11月, 2019 4 次提交
  3. 27 11月, 2019 3 次提交
    • Y
      Support numpy bridge (enabled by default in dygraph mode) (#20983) · d5ff79e5
      Youwei Song 提交于
      * add numpy bridge
      
      * fix template compile
      
      * add unittest, add default
      test=develop
      
      * fix unittest
      test=develop
      
      * fix unittest
      test=develop
      
      * zero_copy=True for to_variable,
      test=develop
      
      * bug fix
      test=develop
      
      * disable deprecated NumPy API
      test=develop
      
      * use better design of NumpyAllocator
      test=develop
      
      * fix Py_None check
      test=develop
      
      * reset c++ tracer when jump out dygraph guard
      test=develop
      
      * refine PADDLE_ENFORCE_xx format
      test=develop
      
      * bug fix of tracer switch
      test=develop
      
      * update decref
      test=develop
      d5ff79e5
    • G
      Polish the codes of fc when needs padding (#21378) · 8493f20e
      GaoWei8 提交于
      test=develop
      8493f20e
    • M
      INT8 Fully-connected (#17641) · 5d7d5482
      Michał Gallus 提交于
      * Implement Int8 FC
      
      * Integrate FC into INT8v2
      
      test=develop
      
      * int8 FC: transpose weights before computing scales
      
      test=develop
      
      * Add support for activation_type string in FC
      
      test=develop
      
      * Disable MKL-DNN's FC in VGG16 and 19
      
      test=develop
      
      * Disable FC quantization when mkldnn FC is disabled
      
      test=develop
      
      * Solve PADDLE_ENFORCES in FC int8
      
      * Fix Paddle enforces and remove const cast
      
      test=develop
      
      * Fix style changes
      
      test=develop
      
      * Fix quantizer_tester test and add fc quantization
      
      test=develop
      
      * Fix FC test fail on CUDA
      
      * Remove unnecessary log from quantize placement pass
      
      test=develop
      
      * Add Thread ID to FC hash key
      
      test=develop
      
      * Add comments to MKL-DNN FC Kernel
      
      test=develop
      
      * Refactor quantizer
      
      test=develop
      
      * Fix linter issues
      
      test=develop
      
      * Fix crash in slim googlenet
      
      test=develop
      
      * Fix PADDLE_ENFORCE messages
      
      test=develop
      5d7d5482
  4. 26 11月, 2019 1 次提交
    • G
      Add fc padding to improve mkl GEMM's performance when N and K are multiple of 128. (#20972) · 234060f8
      GaoWei8 提交于
      * Add fc padding to solve mkl performance
      test=develop
      
      * fix gpu pass and error information
      test=develop
      
      * fix fc_fuse_pass_test
      test=develop
      
      * fix error information
      test=develop
      
      * fix error information
      test=develop
      
      * fix name and add fc op padding test
      test=develop
      
      * fix attributes
      test=develop
      
      * optimize fc padding
      test=develop
      
      * fix test
      test=develop
      234060f8
  5. 25 11月, 2019 2 次提交
  6. 24 11月, 2019 2 次提交
    • D
      Refactor fetch handler (#21264) · 691ced87
      Dong Daxiang 提交于
      * fix fetch handler problem and refactor
      when a user define FetchHandler class, he or she should initialize a handler
      with variable dict. the key of a variable dict is a user defined name,
      the value of a variable dict is a Varaible generated from python API.
      
      For each fetching, a user should implement handler function in which
      fetched_result_dict will be available and the user can access the fetched value
      with user defined keys.
      691ced87
    • Y
      Disable fusion_group pass for windows and mac. We will do some experiments on Linux first. (#21310) · c918788b
      Yiqun Liu 提交于
      * Disable fusion_group pass for windows and mac. We will do some experiments on Linux first.
      test=develop
      
      * Print the subgraph when check failed.
      test=develop
      c918788b
  7. 22 11月, 2019 1 次提交
  8. 21 11月, 2019 1 次提交
    • T
      solve pslib core in stop worker (#21263) · 0d17c1b8
      Thunderbrook 提交于
      * general table
      
      * add sparse table
      test=develop
      
      * no cvm
      test=develop
      
      * add no_cvm
      test=develop
      
      * add note
      test=develop
      
      * code style
      test=develop
      
      * code style
      test=develop
      
      * code style
      test=develop
      
      * code style
      test=develop
      
      * code style
      test=develop
      
      * add key of optimizer
      test=develop
      
      * solve pslib stop core
      test=develop
      
      * barrier
      test=develop
      
      * add notes
      test=develop
      0d17c1b8
  9. 20 11月, 2019 2 次提交
    • T
      support general embedding params (#21217) · 349e82d6
      Thunderbrook 提交于
      * general table
      
      * add sparse table
      test=develop
      
      * no cvm
      test=develop
      
      * add no_cvm
      test=develop
      
      * add note
      test=develop
      
      * code style
      test=develop
      
      * code style
      test=develop
      
      * code style
      test=develop
      
      * code style
      test=develop
      
      * code style
      test=develop
      
      * add key of optimizer
      test=develop
      349e82d6
    • Y
      Enable generating code for a given subgraph. (#21126) · 6b1e1f0d
      Yiqun Liu 提交于
      * Enable generating code for a given subgraph.
      
      * Support sorting the subgraph.
      
      * Remove the rearange of expressions because we use the sorted subgraph directly.
      
      * Enable generating code for a subgraph which is composed of grad ops.
      
      * Use expression information to check the accuracy in unittest.
      
      * Separate load and store from computation expressions.
      test=develop
      
      * Improve the loading statements in generated codes.
      test=develop
      
      * Remove unused arguments from formal list.
      test=develop
      6b1e1f0d
  10. 19 11月, 2019 1 次提交
  11. 18 11月, 2019 2 次提交
  12. 15 11月, 2019 2 次提交
  13. 14 11月, 2019 2 次提交
  14. 13 11月, 2019 2 次提交
  15. 12 11月, 2019 2 次提交
  16. 11 11月, 2019 3 次提交
    • Y
      Add the check of lod_level between compile-time and runtime. (#20961) · 35f17ae2
      Yiqun Liu 提交于
      * Add the check of lod_level between compile-time and runtime.
      test=develop
      
      * Fix bug in check_compile_vs_runtime.
      test=develop
      
      * Fix the check of output when it is dispensiable or intermediate.
      test=develop
      
      * Share lod of x to out in match_matrix_tensor op in compile-time.
      
      * Implement GetLoDLevel in InferShapeContext.
      
      * Set the default value of check_compile_vs_runtime to False and enable it in test_sequence_pad_op.
      test=develop
      
      * Enable check_compile_vs_runtime in test_match_matrix_tensor.
      
      * Add the implementation of SetLoDLevel in InferShapeContext.
      
      * Remove the implementation of IncreaseLoDLevel and call Get/SetLoDLevel instead.
      
      * Remove the implementation of DecreaseLoDLevel and call Set/GetLoDLevel instead.
      
      * Refine some ops and unittests.
      test=develop
      
      * Fix a typo.
      test=develop
      
      * Remove the check of var type, and change int to int32_t.
      test=develop
      
      * Add unittest for Get/SetLoDLevel.
      test=develop
      35f17ae2
    • C
      Add pre-condition check for fuse optimizer op pass (#21005) · 826254f6
      Chen Weihang 提交于
      * add pre condition check for fuse optimizer op pass, test=develop
      
      * add log & set init to zero, test=develop
      
      * fix test_fuse_all_reduce_pass failed, test=develop
      
      * polish details, test=develop
      
      * refine PADDLE_ENFORCE & remove needless VLOG, test=develop
      
      * refactor op check method, test=develop
      826254f6
    • Y
      Support generating code for grad_op (#21066) · 9091f8cd
      Yiqun Liu 提交于
      * Add the definition of operation in fusion_group.
      
      * Use operations in OperationMap to detect fusion_group of elementwise pattern.
      
      * Add namespace fusion_group in code_generator.
      
      * Use operations recorded in OperationMap to generate code.
      
      * Remove implementation codes to .cc file.
      
      * Refine Operation and CodeGenerator to make it easier to generate code for grad_op.
      Refine the unittest for better reuse.
      
      * Avoid recording the template's keyword in a array.
      
      * Support the generating of code for grad_op and add unittest.
      test=develop
      
      * Remove replaced_element_in_order and use use number instead.
      test=develop
      9091f8cd
  17. 08 11月, 2019 2 次提交
    • J
      Add transpose2 INT8 for mkl-dnn (#19424) · 77c20835
      joanna.wozna.intel 提交于
      * Add transpose2 INT8 for mkl-dnn
      
      test=develop
      
      * Fix test_transpose_int8_mkldnn
      
      test=develop
      
      * Revert "Merge branch 'develop' into transpose_int8_mkldnn_2"
      
      This reverts commit 34011bdb, reversing
      changes made to 2ce6473f.
      
      * Revert "Revert "Merge branch 'develop' into transpose_int8_mkldnn_2""
      
      This reverts commit 23754dd7.
      
      * Add template to TransposeMKLDNNHandler
      
      test=develop
      
      * Resolve conflict
      
      test=develop
      
      * Restore get_size and refactor
      
      test=develop
      77c20835
    • C
      Enrich the type of error and declare the error type interfaces (#21024) · 7ee25189
      Chen Weihang 提交于
      * Enrich the type of error and declare the error type interfaces, test=develop
      
      * adjust tests to adapt new form, test=develop
      
      * add inference deps with error_codes.pb.h, test=develop
      
      * restore stack iter start pos, test=develop
      
      * polish code based review comments, test=develop
      7ee25189
  18. 05 11月, 2019 3 次提交
  19. 02 11月, 2019 1 次提交