1. 31 3月, 2023 2 次提交
  2. 17 3月, 2023 1 次提交
  3. 20 1月, 2023 1 次提交
  4. 13 1月, 2023 1 次提交
    • J
      【Prim】Support elementwise related VJP with primitives (#49784) · 561f9013
      Jiabin Yang 提交于
      * support elementwise base func
      
      * fix compiling error and add test
      
      * remove additional param
      
      * support vjp for div using comp
      
      * remove additional change
      
      * fix dy2st error with magic num
      
      * fix dy magic num
      
      * another magic
      
      * another magic
      
      * add more test
      
      * fix windows problem
      
      * another magic
      
      * fix windows compile
      
      * invoke ci
      
      * add skip rename strategy
      
      * support add vjp
      
      * fix test_tanh
      
      * support add with new axis cal
      
      * fix resnet and some test
      
      * add composite log
      
      * support sub vjp
      561f9013
  5. 11 1月, 2023 1 次提交
    • R
      [Dy2St] 移除 ProgramTranslator (#49628) · 2bb28f31
      Ryan 提交于
      * add enable_to_static and drop some methods of ProgramTranslator
      
      * fix code style
      
      * fix cant import enable_to_static and update unitest
      
      * change unitest and rollback code of PT
      
      * fix can't import as of utils
      
      * roll back PT
      
      * fix roll back
      
      * add some unitest
      
      * add unitest and fix codestyle bug in api.py
      
      * finish all unitest
      
      * remove ProgramTranslator
      
      * fix code style
      
      * restore test_program_translator
      
      * api.py remove get_func
      
      * TestDygraphToStaticCode
      
      * fix check_type and import err
      
      * roll back PT without getcode
      
      * roll back pt with get_code
      
      * convert_to_static
      
      * fix import __all__
      2bb28f31
  6. 03 1月, 2023 1 次提交
    • G
      Move out sequential and replace save_dygraph and load_dygraph (#48709) · 7ff66973
      GGBond8488 提交于
      * remove fluid.save_dygraph and fluid.load_dygraph use paddle.save and paddle.load instead
      
      * move Sequential to paddle.nn
      
      * modify convert_call_func.py Sequential reference
      
      * remove related unitests
      
      * remove fluid.dynamic.Sequntial
      
      * test remove conver_call_func
      
      * fix conflicts
      
      * fix typro
      
      * fix unitests
      
      * fix sample_code
      
      * fix unitest
      
      * fix __init__
      7ff66973
  7. 30 12月, 2022 1 次提交
  8. 20 12月, 2022 1 次提交
  9. 16 12月, 2022 1 次提交
  10. 06 12月, 2022 1 次提交
  11. 30 11月, 2022 1 次提交
    • W
      [remove fluid] under unittesets (#48212) · 7d6263e6
      wangzhen38 提交于
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      
      * [remove fluid] under unittesets
      7d6263e6
  12. 29 11月, 2022 1 次提交
  13. 03 11月, 2022 1 次提交
  14. 23 10月, 2022 1 次提交
  15. 27 9月, 2022 1 次提交
  16. 19 8月, 2022 1 次提交
    • N
      [CodeStyle] use np.testing.assert_allclose instead of... · 9107b653
      Nyakku Shigure 提交于
      [CodeStyle] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 2) (#45213)
      
      * autofix (get ci log)
      
      * retrigger ci
      
      * fix test_gather_nd_op, wrong expected in dygraph
      
      * fix test_activation_op, unpack static graph result
      
      * fix test_auc_op, unpack static graph result
      
      * fix test_bce_loss, unpack static graph result
      
      * fix test_bce_with_logits_loss, unpack static graph result
      
      * fix test_cond, unpack static graph result
      
      * fix test_dygraph_weight_norm, wrong numpy reference when `axis=None`
      
      * fix test_einsum, wrong matmul inputs
      
      * fix test_elementwise_heaviside_op, unpack static graph result
      
      * fix test_frac_api, unpack static graph result
      
      * skip test_group_norm_op_v2, probably the wrong numpy reference
      
      * fix test_imperative_double_grad, wrong subscript
      
      * skip test_imperative_tensor_clear_gradient, ???
      
      * skip test_layer_norm_op, probably the wrong numpy reference
      
      * fix test_math_op_patch, unpack static graph results
      
      * fix test_masked_select_op, unpack static graph results
      
      * fix test_mse_loss, unpack static graph results
      
      * fix test_multi_label_soft_margin_loss, unpack static graph results
      
      * fix test_multi_dot_op, unpack static graph results
      
      * fix test_nll_loss, unpack static graph results
      
      * fix test_normalization_wrapper, unpack static graph results
      
      * fix test_pass_builder, unpack static graph results
      
      * fix test_prelu_op, possibly an extra comma
      
      * fix test_psroi_pool_op, unpack static graph results
      
      * fix test_queue, unpack static graph results
      
      * fix test_reorder_lod_tensor, compare an item with a list
      
      * fix test_rrelu_op, unpack static graph results
      
      * fix test_searchsorted_op, unpack static graph results
      
      * fix test_sigmoid_focal_loss, unpack static graph results
      
      * fix test_smooth_l1_loss, unpack static graph results
      
      * fix test_soft_margin_loss, unpack static graph results
      
      * fix test_softmax2d, unpack static graph results
      
      * fix test_square_error_cost, unpack static graph results
      
      * fix test_tril_indices_op, unpack static graph results
      
      * fix test_unsqueeze_op, mismatch numpy reference (axis)
      
      * skip test_layers, `static_rlt` is missing an axis
      
      * fix test_mnist, unpack PredictorTools result (also a list)
      
      * fix test_build_strategy, unpack PredictorTools result
      
      * fix test_mobile_net, unpack PredictorTools result
      
      * fix test_resnet_v2, unpack PredictorTools result
      
      * revert some changes
      
      revert test_layers
      
      revert test_group_norm_op_v2
      
      revert test_layer_norm_op
      
      revert test_imperative_tensor_clear_gradient
      
      * fix test_normal, use flatten instead of reshape, (PR-CI-Windows-OPENBLAS)
      
      * empty commit, trigger CI
      9107b653
  17. 05 6月, 2022 1 次提交
    • S
      【code format check upgrade】 step2:yapf (#42944) · a072fca8
      Sing_chan 提交于
      * use yapf to format all python file
      
      * yapf exclude two unittests file for they rely on writing and reading file, and format will break them
      
      * disable diff_py_file because too many diff files cause command following failed
      a072fca8
  18. 18 5月, 2022 1 次提交
  19. 07 4月, 2022 1 次提交
  20. 15 7月, 2021 1 次提交
  21. 21 10月, 2020 1 次提交
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  22. 14 10月, 2020 1 次提交
    • C
      Remove and reorganize the alias of APIs (#27717) · d05058d2
      chentianyu03 提交于
      * modify cond while_loop to paddle.static.nn.cond
      
      * modify crop_tensor to paddle.crop
      
      * modify Variable to paddle.static.Variable
      
      * remove nn.beam_search, nn.beam_search_decode, nn.gather_tree
      
      * remove bpr_loss, center_loss, rank_loss, smooth_l1, teacher_student_sigmoid_loss, edit_distance, sampled_softmax_with_cross_entropy in nn.functional
      
      * remove apis in nn.functional.learn_rate.py
      
      * remove pool2d, pool3d, adaptive_pool2d, adaptive_pool3d in nn.functional
      
      * remove apis in nn.functional.vision
      
      * remove erf, soft_relu in nn.functional.activation
      
      * remove apis in nn.functional.extension
      
      * remove nn.functional.rnn
      
      * remove hash from nn.functional.lod
      
      * remove row_conv from nn.functional.extension
      
      * remove one_hot, pad2d, pad_constant_like from nn.functional.common
      
      * remove nn.gather_tree, nn.BilinearTensorProduct, nn.Pool2D, nn.Pad2D
      
      * remove apis from optimizer.__init
      
      * remove tensor.creation.fill_constant
      
      * remove elementwise_mul in nn.functional.common and  modify to paddle.multiply
      
      * remove  tensor.stat.reduce_mean
      
      * remove reduce_all, reduce_any in tensor.logic
      
      * remove apis in tensor.math
      
      * remove apis in tensor.__init__
      
      * remove has_inf, has_nan in tensor.search
      
      * remove apis in framework.__init__
      
      * remove apis in paddle.__init__
      
      * remove apis in nn.functional.__init__
      
      * modify removed alias apis to raw api in doc and unittests
      
      * fix remove grid_sample bug
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * modify removed alias apis to raw api in doc and unittests
      
      * delete alias api relastions in doc
      
      * reserve paddle.compat, paddle.sysconfig
      
      * remove unittest for paddle.reduce_all, paddle.reduce_any
      
      * modify removed alias apis to raw api in doc and unittests
      
      * recover paddle.save and paddle.load
      
      * resolve conflicts
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix sample code missing paddle.enable_static() bug
      
      * fix to_string sample code error
      d05058d2
  23. 11 10月, 2020 1 次提交
  24. 30 9月, 2020 1 次提交
  25. 01 9月, 2020 1 次提交
  26. 28 8月, 2020 1 次提交
    • L
      Refine paddle.manual_seed (#26496) · 844583c8
      Leo Chen 提交于
      * refine manual seed
      
      * fix ci problem
      
      * fix unittests
      
      * fix unittest
      
      * set is_init_py=false in manual_seed
      
      * fix unittest
      
      * fix bernoulli_op
      
      * fix(unittest): change random_seed to manual_seed
      
      * 🐞fix(unittest): fix manual_seed
      
      * trigger ci
      
      * fix test_sentiment
      
      * fix test_imperative_save_load
      
      * fix test_uniform_random_op
      
      * fix test_uniform_random_op
      
      * fix test_jit_save_load
      
      * merge develop
      
      * fix manual_seed
      
      * fix manual_seed
      
      * use global engine
      
      * use shared_ptr
      
      * fix double free
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix test bug
      
      * fix test bug
      
      * fix test bug
      
      * fix ci
      844583c8
  27. 20 8月, 2020 2 次提交
  28. 05 8月, 2020 1 次提交
  29. 19 4月, 2020 1 次提交
  30. 25 3月, 2020 1 次提交
    • H
      Rename Decorator "dygraph_to_static_graph" to "dygraph_to_static_func" (#23150) · e9b18c74
      Huihuang Zheng 提交于
      This PR does exact the thing as the title. The reason is that we plan to develop 4 decorators
      
      "dygraph_to_static_code"
      "dygraph_to_static_program"
      "dygraph_to_static_func"
      "dygraph_to_static_output"
      
       The 4 decorators will emphasize different part when translating dygraph to static graph. Decorator name "dygraph_to_static_graph" is too big for the function it implements.
      e9b18c74
  31. 06 3月, 2020 1 次提交
  32. 02 3月, 2020 1 次提交