1. 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
  2. 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
  3. 22 6月, 2021 1 次提交
  4. 06 1月, 2021 1 次提交
  5. 05 4月, 2019 1 次提交
  6. 06 3月, 2019 1 次提交
    • L
      add IfElse test case for ir memory optimize (#15998) · 9cc6f400
      liuwei1031 提交于
      * add ir memory optimize test case for IfElse op, test=develop
      
      * fix some unitttest failure by force using the python memory_optimize, test=develop
      
      * tweak comments, test=develop
      
      * fix unittest, test=develop
      
      * fix unittest, test=develop
      9cc6f400
  7. 05 3月, 2019 1 次提交
    • L
      add IfElse test case for ir memory optimize (#15998) · caadd058
      liuwei1031 提交于
      * add ir memory optimize test case for IfElse op, test=develop
      
      * fix some unitttest failure by force using the python memory_optimize, test=develop
      
      * tweak comments, test=develop
      
      * fix unittest, test=develop
      
      * fix unittest, test=develop
      caadd058
  8. 22 1月, 2019 1 次提交
  9. 14 1月, 2019 1 次提交
  10. 14 11月, 2018 1 次提交
  11. 13 11月, 2018 1 次提交
  12. 25 9月, 2018 4 次提交
  13. 15 8月, 2018 1 次提交
  14. 26 7月, 2018 1 次提交
  15. 17 7月, 2018 1 次提交
  16. 29 6月, 2018 1 次提交
    • C
      Init allocated memory for unit test (#11657) · d2ad4a5c
      chengduo 提交于
      * memory init
      
      * add env
      
      * refine anounce
      
      * Add check for Nan
      
      * Debug
      
      * Add env for cc_test
      
      * Add env for py_test and nv_test
      
      * Remove py_test env
      
      * Add env for py_test
      
      * serial test_recognize_digits
      
      * Test FLAGS_init_allocated_mem function for unit test
      
      * Init allocated mem for op unit test
      
      * Add env for all unit test
      d2ad4a5c
  17. 26 6月, 2018 1 次提交
  18. 10 6月, 2018 2 次提交
  19. 21 5月, 2018 1 次提交