1. 07 10月, 2019 3 次提交
    • L
      add error log for python api and c++ (#20061) · 76ba55e8
      lvmengsi 提交于
      * add error log
      76ba55e8
    • Y
      Refactor linear chain crf op & crf decoding op (#19982) · 01ad8d2e
      Yibing Liu 提交于
      * Update crf_decoding api & example
      
      test=develop
      
      * Update api spec
      
      test=develop
      
      * Fix linear chain crf api
      
      test=develop
      
      * Avoid sharing data pointer with input
      
      test=develop
      
      * Simplify the logic in linear_chain_crf_decoding
      
      * Add unittest for crf_decoding when label & path both are set
      
      test=develop
      
      * Update API spec
      
      test=develop
      
      * Add unittest for layers && correct infer_shape in chunk_eval
      
      test=develop
      01ad8d2e
    • J
      Fix/auto prune error on leaf (#20056) · 7a9bd0c5
      Jiabin Yang 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, Add Variable api and refine dygraph related API
      
      * test=develop, Add Variable api and refine dygraph related API
      
      * test=develop, refine test for new api and error info
      
      * test=develop, refine error info and test_layers
      
      * test=develop, add API.spec
      
      * test=devleop, fix to_string python2 and python3 compat error and refien doc
      
      * test=devleop, add API spec
      
      * test=devleop, update API spec
      
      * test=devleop, update API spec
      
      * test=develop, invoke ci
      
      * test=develop, fix example code
      
      * test=develop, update API spec
      
      * test=develop, fix auto_prune_error_on_leaf
      
      * test=develop, fix auto prune error on loss stop_gradient
      
      * test=develop, remove useless error check
      
      * test=develop, add more ut for sorted gradient
      7a9bd0c5
  2. 03 10月, 2019 2 次提交
    • W
      fix the error message for reduce_mean and reduce_sum op (#20063) · 6e73e90b
      wangchaochaohu 提交于
      * fix the error message for reduce_mean and reduce_sum op test=develop
      
      * fix typo test=develop
      
      * fix according review advice test=develop
      
      * fix the test test=develop
      
      * fix test=develop
      6e73e90b
    • W
      Fill constant error message fix (#20075) · 9a76f3f9
      wangchaochaohu 提交于
      * fix the constant error message test=develop
      
      * fix typo test=develop
      
      * fix typo test=develop
      
      * fix code style test=develop
      
      * fix comment and bugs test=develop
      
      * fix the bug test=develop
      
      * fix and add unittest test=develop
      
      * fix the typo test=develop
      
      * add support for the fill_constant op test=develop
      
      * add test for ci coverage test=develop
      9a76f3f9
  3. 02 10月, 2019 1 次提交
  4. 30 9月, 2019 1 次提交
  5. 29 9月, 2019 2 次提交
  6. 28 9月, 2019 5 次提交
    • S
      improve op uniform_random, argument shape support tensor and tensor in list (#19786) · f1eebf75
      silingtong123 提交于
      * test=develop, argument shape support tensor and tensor in list
      
      * test=develop,Increasing the coverage of CI tests
      
      * test=develop, modify the document and update API.spec
      
      * test=develop, modify the doc and update API.spec
      
      * test=develop, modify the doc and update API.spec
      
      * test=develop, modify the interface of UniformInitializer
      
      * test=develop, modify the interface of XavierInitializer and MSRAInitializer
      
      * test=develop, modify based on review's comments
      
      * test=develop, modify based on review's comments
      
      *  test=develop, modify based on review's comments
      f1eebf75
    • L
      fix pool2d pool3d,support asymmetric padding and channel_last (#19739) · 24010472
      liym27 提交于
      * fix pool2d pool3d:
      1. support asymmetric padding;
      2. support padding algorithm:"SAME" and "VALID";
      3. support channel_last: data_format NHWC and NDHWC;
      4. support inferring shape when input with negative dims in compile time;
      5. change doc of python API and c++;
      6. fix bug in cuda kernel when Attr(adaptive) is true.
      
      test=develop,test=document_preview
      
      * fix 'tensors' to 'Tensors'. test=develop,test=document_preview
      
      * add test for converage ValueError.test=develop,test=document_preview
      
      * resolve conflict in test_pool2d. test=develop
      24010472
    • Y
      Dygraph Layer kwargs & param getter setter (#19901) · 54e07994
      Youwei Song 提交于
      * opt FC
      
      * opt rest of dygraph.nn
      
      * new param shape check and unittest
      
      * add kwargs for Layer
      
      * add new set_value api
      
      * use property decorator
      
      * update API.spec, test=develop
      
      * use UserList, separate gettersetters, test=develop
      
      * update test_custom_layer_with_kwargs, test=develop
      
      * fix UserList compatibility, test=develop
      
      * fix UserList compatibility, test=develop
      
      * keep FC._w, test=develop
      
      * add unittests, Conv3D bug fix, test=develop
      
      * clean code, test=develop
      
      * fix dygraph guard in unittest, test=develop
      
      * add property setters, remove unused param in tracer, test=develop
      
      * tracer none check, test=develop
      
      * merge, test=develop
      
      * refine, test=develop
      
      * bug fix in  prelu and conv3d_transpose, test=develop
      
      * rm __set__, test=develop
      
      * set tensor value instead of assign op
      
      * fix property setter call, test=develop
      
      * fix api.spec, test=develop
      
      * fix doc sample, test=develop
      54e07994
    • H
      Add shape check in load model (#19936) · 4e99c2af
      hong 提交于
      * add parameter shape check when load parameter from file; test=develop
      
      * fix test error; test=develop
      
      * add wrong shape check; test=develop
      
      * remove useless code; test=develop
      
      * add testcase setup
      
      * add teardown, remove temp model_path; test=develop
      
      * add clean process; test=develop
      4e99c2af
    • G
      change dist tests to serial test=develop (#20051) · d4bca811
      gongweibao 提交于
      d4bca811
  7. 27 9月, 2019 5 次提交
    • J
      Optimze/optimize dygraph api (#19999) · 39ff0f9c
      Jiabin Yang 提交于
      * test=develop, fix docker with paddle nccl problem
      
      * test=develop, Add Variable api and refine dygraph related API
      
      * test=develop, Add Variable api and refine dygraph related API
      
      * test=develop, refine test for new api and error info
      
      * test=develop, refine error info and test_layers
      
      * test=develop, add API.spec
      
      * test=devleop, fix to_string python2 and python3 compat error and refien doc
      
      * test=devleop, add API spec
      
      * test=devleop, update API spec
      
      * test=devleop, update API spec
      
      * test=develop, invoke ci
      
      * test=develop, fix example code
      
      * test=develop, update API spec
      
      * test=develop, add compat test and fix inplace campat dict error
      39ff0f9c
    • K
      polish pool infer shape (#20038) · e7a6567b
      Kaipeng Deng 提交于
      * fix pool infershape. test=develop
      
      * fix unittest converage. test=develop
      
      * fix format. test=develop
      e7a6567b
    • C
      Add fp16 support for pad and split (#19881) · fb2a9cdf
      chengduo 提交于
      * make pad and split support fp16
      test=develop
      fb2a9cdf
    • T
      the integrated communicator (#19849) · 8f0b3c05
      tangwei12 提交于
      * add a base class for the Communicator
      * add AsyncCommunicator Impl for async distributed training
      8f0b3c05
    • Z
      Fix name_scope test case bug (#20034) · 5a2ecdea
      zhaoyuchen2018 提交于
      test=develop
      Signed-off-by: Nzhaoyuchen <zhaoyuchen01@baidu.com>
      5a2ecdea
  8. 26 9月, 2019 11 次提交
  9. 25 9月, 2019 8 次提交
    • Z
      add kernel for fill_op, test=develop (#19719) · b1bb2384
      zhongpu 提交于
      * add kernel for fill_op, test=develop
      
      * modify PADDLE_ENFORCE to PADDLE_ENFORCE_EQ, test=develop
      
      * add op test for fill_op, test=develop
      
      * REGISTER COP CUDA KERNEL, test=develop
      
      * update test_fill_op.py, test=develop
      
      * change FillConstantOpVarTypeInference to FillOpVarTypeInference, test=develop
      
      * fix op test, test=develop
      
      * add head file, test=develop
      b1bb2384
    • W
      add support tensor and tensorlist for strided_slice OP (#19929) · 382d099d
      wangchaochaohu 提交于
      * add support tensor and tensorlist for strided_slice OP test=develop
      
      * fix the commnet test=develop
      
      * fix test=develop
      
      * fix the bug test=develop
      
      * delete log test=develop
      
      * fix API.spec test=develop
      
      * fix test=develop
      382d099d
    • L
      Fix OpTest of bn (#19062) · 619a241b
      lvmengsi 提交于
      * fix bn
      619a241b
    • S
      Avoid treating broadcast as initialization operation (#19857) · 5920d69d
      ShenLiang 提交于
      * treat broadcast as non-initial, test=develop
      
      * rename the class name
      
      * rename the class name, test=develop
      5920d69d
    • B
      add support of matmul with multiple head even different width and height (#19708) · c670058a
      Bob Zhu 提交于
      * add support of matmul with multiple head even different width and height
      
      Original matmul with multiple head supports only the mat_a.width == mat_b.height,
      in that case, mat_b will be horizontally split. In this patch, we extend the
      support when mat_a.width != mat_b.height but mat_a.width/head_number == mat_b.height,
      in this case, mab_b will be vertically split.
      
      One example is A is [3, 8], B is [2, 16], head_number is 4. In this
      case, A will be split as [3, 2], B will be (vertically) split as
      [2, 4]. The final result will be 4 matrix of 4 matrix of [3,4], i.e. [3, 16]
      
      test=develop
      
      * add support of matmul with multiple head even different width and height
      
      Original matmul with multiple head supports only the mat_a.width == mat_b.height,
      in that case, mat_b will be horizontally split. In this patch, we extend the
      support when mat_a.width != mat_b.height but mat_a.width/head_number == mat_b.height,
      in this case, mab_b will be vertically split.
      
      One example is A is [3, 8], B is [2, 16], head_number is 4. In this
      case, A will be split as [3, 2], B will be (vertically) split as
      [2, 4]. The final result will be 4 matrix of 4 matrix of [3,4], i.e. [3, 16]
      
      test=develop
      
      * refactor the code of matmul with multiple head even different width and height
      
      test=develop
      c670058a
    • L
      refine ctc align op with padding (#19926) · 6884dc80
      Liufang Sang 提交于
      * refine ctc align op with padding 
      * refine api sample code
      6884dc80
    • T
      add input type and dtype check for softmax_op (#19975) · 65a02fc1
      Tao Luo 提交于
      * add input type and dtype check for softmax_op
      
      test=develop
      
      * refine error message
      
      test=develop
      65a02fc1
    • A
      Removing length dims constraints of seq_pad and seq_unpad (#19497) · 99a9615a
      Aurelius84 提交于
      * Removing last dims constraints of seq_pad and seq_unpad test=develop
      
      * fix test_layer api code test=develop
      
      * fix sequence_pad_op.cc conflict test=develop
      
      * remove test_analyzer_mm_dnn test=develop
      
      * fix vectorize bug test=develop
      
      * fix vectorize<int> test=develop
      99a9615a
  10. 24 9月, 2019 2 次提交