- 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
-
- 04 8月, 2022 1 次提交
-
-
由 Weilong Wu 提交于
* [Eager] fix slice's input mistake * add tests for slice
-
- 02 8月, 2022 1 次提交
-
-
由 Weilong Wu 提交于
* [Eager] call final_state_slice under eager mode * rm useless comments * use eager final state instead intermidiate state * update fill_constant yaml * update fill_constant yaml * modify wrapped_infermeta_gen logic to fix special case * fix slice in manipulation * use fill_constant_ * modify slice infermeta * rm final_state_conv2d * use final_state_slice * use final_state_slice only * polish slice, use final state * add paddle_throw for SplitInferMeta * rm fill_constant_ temply * recover array_equal, not allclose * recover original code
-
- 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
-
- 13 4月, 2022 1 次提交
-
-
由 zhiboniu 提交于
-
- 04 4月, 2022 1 次提交
-
-
由 hong 提交于
* add dropout slice yaml * remove useless code * fix infer shape error * skip infrt compile for dropout
-
- 27 3月, 2022 1 次提交
-
-
由 hong 提交于
* move slice to pten * merge develop; test=develop * fix slice bug; * update * update * fix error * update * fix bug * polish code * polish code * polish code * try to fix windows bug * add gpu compile flag; * try to fix * remov template; * polish code; * fix npu bug; * fix npu bug * fix npu bug; test=develop * fix slice bug; * remove no need dep
-
- 10 2月, 2022 1 次提交
-
-
由 zhangbo9674 提交于
* add dropout * add reshape * add slice * refien slice unittest * refine slice unittest * add cpu bf16 kernel
-
- 14 9月, 2021 1 次提交
-
-
由 WeiXin 提交于
-
- 01 9月, 2021 1 次提交
-
-
由 WeiXin 提交于
* fix bug:When axes in paddle.sile is a tuple, an error occurs. * polish code.
-
- 27 8月, 2021 1 次提交
-
-
由 WeiXin 提交于
* polish the error message of paddle.slice. * polish code.
-
- 10 6月, 2021 1 次提交
-
-
由 liym27 提交于
-
- 06 1月, 2021 1 次提交
-
-
由 Leo Chen 提交于
* add dispenable input 'shape' for core.ops.reshape2 * add dispenable inputs for core.ops.reshape2/expand/slice * add ut
-
- 10 8月, 2020 1 次提交
-
-
由 Chen Weihang 提交于
* add cuda pinned place branch * add unittest * add skip when not gpu
-
- 20 5月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* fix bug of varbase.__getitem__, test=develop * fix bug of float and other type, test=develop
-
- 15 5月, 2020 1 次提交
-
-
由 liym27 提交于
* Compatible int32 and int64 for attr in op slice/strided_slice. test=develop * Polish code in nn.py test=develop * Fix bug: set the same dtype for the inputs of elementwise_add. test=develop * Convert int32 to int64 in slice op to avoid data overflow. test=develop * Convert int32 to int64 in strided_slice_op to avoid data overflow. test=develop
-
- 30 4月, 2020 1 次提交
-
-
由 liym27 提交于
* Support LoDTensorArray for slice op. * Support read elements of list in dygraph_to_static * Fix infershape add test for infershape. * Support Tensor for Attr(starts) and Attr(ends). * Use new interfaces in VarTypeInference.
-
- 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 提交于
-
- 02 12月, 2019 1 次提交
-
-
由 Zhang Ting 提交于
There are PythonAPI tests in Op's unittest which don't need to inherit OpTest class.
-
- 17 9月, 2019 1 次提交
-
-
由 liym27 提交于
add support parameter inference when arguments starts or ends is a list containing integer and tensor variable; test=develop,test=document_preview improve slice op according to review(from hongyu). test=develop fix slice op according to review: infer_flags, test=develop fix slice op: improve overload operator __getitem__ to support attrs(starts and ends) are Variable. test=develop,test=document_preview fix test_slice_op: add TestSliceOp_decs_dim_6 to resolve conflict with test_slice_ngraph_op. test=develop add stop_gradient=True when attr(starts) or attr(ends) is tensor Variable. test=develop,test=document_preview
-
- 20 6月, 2019 1 次提交
-
-
由 Hongyu Liu 提交于
* fix slice op bug; test=develop * fix variabel test bug; test=develop * remove slice while true; test=develop
-
- 19 3月, 2019 2 次提交
-
-
由 zhhsplendid 提交于
test=develop
-
由 Yibing Liu 提交于
test=develop
-
- 15 3月, 2019 1 次提交
-
-
由 Yibing Liu 提交于
* Impl fp16 compute kernel for slice_op test=develop * Use data() to replace mutable_data()
-
- 17 9月, 2018 1 次提交
-
-
由 Dun 提交于
* Implement slice grad operator. #8130 * test slice grad operator and bug fix * Fix pre commit style
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 2 次提交
- 11 6月, 2018 1 次提交
-
-
由 whs 提交于
* Add slice op. * Remove using from header file and fix doc. * Fix doc * Small fix.
-