- 26 4月, 2021 1 次提交
-
-
由 jiangcheng 提交于
* optimize slice op and slice grad op, test=develop * optimize variable name and annotation information, test=develop
-
- 06 1月, 2021 1 次提交
-
-
由 liym27 提交于
1. when slice_item is a slice: 1) the start of __getitem__ should be std::max(start, 0) if slice 2) the start of __getitem__ should be std::min(end, dim) 2. when slice_item is an integer, it should be in [-dim_len, dim_len) 3. Fix error message to use accurate data
-
- 13 10月, 2020 1 次提交
-
-
由 Thunderbrook 提交于
* op error info * style * code format
-
- 15 7月, 2020 1 次提交
-
-
由 Zhang Ting 提交于
-
- 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.
-
- 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
-
- 17 9月, 2018 1 次提交
-
- 11 6月, 2018 1 次提交
-
-
由 whs 提交于
* Add slice op. * Remove using from header file and fix doc. * Fix doc * Small fix.
-