- 19 8月, 2022 1 次提交
-
-
由 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
-
- 17 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle][NPU] use np.testing.assert_allclose instead of self.assertTrue(np.allclose(...)) (part 1) (#44988) * autofix * try resolve precision issues * revert some changes * clean some `err_msg` * 0.0001 -> 1e-4 * update commented assert code * try to fix some shape errors * `numpy` -> `np` * empty commit, trigger kunlun ci, test=kunlun * empty commit, retrigger kunlun ci, test=kunlun * empty commit, trigger kunlun ci, try fix npu memcpy_h2d, test=kunlun * try fix npu import error, test=kunlun
-
- 10 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
[CodeStyle] use np.testing.assert_array_equal instead of self.assertTrue(np.array_equal(...)) (#44947) * automatically fix * update comments * numpy -> np * self.assertEqual(..., True) * wrong usage (err_msg=True) 这不是修复导致的错误,这些是原来 `self.assertTrue(..., True)` 的错误用法,因此在修复后将其认为位置参数 `err_msg` * some missing fix
-
- 05 6月, 2022 1 次提交
-
-
由 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
-
- 10 2月, 2022 1 次提交
-
-
由 zhangbo9674 提交于
* add squeeze unsqueeze stack * add unittest * add cpu kernel
-
- 15 1月, 2021 1 次提交
-
-
由 pangyoki 提交于
* add view strategy on squeeze,unsqueeze,reshape,flatten * add squeeze unittest * add unittests * use View strategy as name rather than Reuse Allacation * fix view api doc * fix format * use core.ops when input of reshape2 is Tensor * fix test_cross_entropy_loss error because of reshape2 * fix test_cross_entropy_loss error because of reshape2 * add inplace strategy * add elementwise_add sub * let backward op not use inplace * grad op do not use inplace * fix memory increase error and add leaf error message * delete selected_rows * change op_function * little change * solve HandleViewBetweenInputAndOutput * add unittest and leaf error message * merge view error * optimize op_function_generator format and support sum inplace op * fix format of basic_engine * fix format for framework * little change of variable wrapper * add reshape, squeeze, unsqueeze, scatter api * add relu elu tanh softmax inplace api * fix test_squeeze_op unittest * fix test_relu_op unittest * fix comment problems * delete sample code of inplace api * add reference of grad_pending_nodes in basic_engine * fix unittest name * add inplace apis into wlist * fix error message * add PADDLE_ENFORCE for set grad op twice * fix head file error
-
- 20 11月, 2020 1 次提交
-
-
由 joejiong 提交于
Adding uint8 support for squeeze operator.
-
- 12 10月, 2020 1 次提交
-
-
由 TeslaZhao 提交于
* Add double grad in Squeeze and Unsqueeze * Add double grad in Squeeze and Unsqueeze
-
- 11 9月, 2020 1 次提交
-
-
由 Leo Chen 提交于
-
- 08 9月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* fix unsqueeze in dygraph * add test * add test
-
- 08 8月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* refine unsqueeze, test=develop * update unsqueeze, test=develop * refine unsqueeze, test=develop * refine unsqueeze, test=develop * update * remove None, test=develop * follow comments * support bool * update doc * follow comments * merge develop
-
- 23 4月, 2020 1 次提交
-
-
由 Qinghe JING 提交于
* add gather split squeeze stack unsqueeze api test=develop * add gather split squeeze stack unsqueeze api test=develop * fix bug test=develop * fix bug test=develop * fix bug test=develop * fix bug test=develop * fix bug test=develop
-
- 06 1月, 2020 1 次提交
-
-
由 zhupengyang 提交于
enhanced ops: unsqueeze, squeeze2, strided_slice, unsqueeze, unsqueeze2, var_conv_2d, spectral_norm, slice, match_matrix_tensor, nce, pad, pad_constant_like, filter_by_instag
-
- 20 12月, 2019 1 次提交
-
-
由 juncaipeng 提交于
-
- 12 12月, 2019 1 次提交
-
-
由 zhupengyang 提交于
* fix input shape of op tests for elementwise_sub, gather, pad2d, transpose, softmax, scale, elementwise_max, hierarchical_sigmoid, reshape2, sign, squeeze, reduce_sum, sum, squeeze2, unsqueeze, unsqueeze2, cast, reverse test=develop * fix cast, elementwise_mul, gather, scale, sign, softmax, transpose test=develop
-
- 09 9月, 2019 1 次提交
-
-
由 zhongpu 提交于
* add kernel for unsqueeze_op, test=develop * add kernel for unsqueeze_op, test=develop * add kernel for unsqueeze_op, test=develop
-
- 06 9月, 2018 1 次提交
-
-
由 chengduo 提交于
* Add intermediate * fix flatten/squeeze/unsqueeze * Considering compatibility issues, we could not fix the origin op * follow comment * reset the shape of XShape
-
- 20 8月, 2018 1 次提交
-
-
由 chenweihang 提交于
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 2 次提交
- 09 7月, 2018 1 次提交
-
-
由 chenweihang 提交于
-
- 06 7月, 2018 1 次提交
-
-
由 chenweihang 提交于
-
- 04 7月, 2018 1 次提交
-
-
由 chenweihang 提交于
-
- 03 7月, 2018 2 次提交
-
-
由 chenweihang 提交于
-
由 chenweihang 提交于
-
- 29 6月, 2018 1 次提交
-
-
由 chenweihang 提交于
-