- 27 4月, 2023 1 次提交
-
-
由 JYChen 提交于
-
- 24 4月, 2023 1 次提交
-
-
由 JYChen 提交于
-
- 22 4月, 2023 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 21 4月, 2023 1 次提交
-
-
由 JYChen 提交于
* support 0-D output and 0-D as indice in __getitem__ * fix tests * fix inference and UT * add unittest for setitem * fix xpu test * fix xpu 0-d
-
- 14 4月, 2023 1 次提交
-
-
由 Feiyu Chan 提交于
1. modify set_value op, use Scalars to represent attr `values`, instead of a bunch of attributs of various types; (#52408) 2. add program converter and set_value op as an example, which provides the functionality to convert `paddle::framework::ProgramDesc` between old and new formats(the differences are mainly some operators with incompatible updates in the definition); 3. program version and operator version map now are always saved when serializing `paddle::framework::ProgramDesc` to identify the version; 3. provide an option `legacy_format=false` in serialization of `paddle::framework::ProgramDesc`, it decided whether to convert ProgramDesc back to a legacy format, which is compatible for paddle 2.4.2 or earlier versions to load and execute; 4. deserialization of `paddle::framework::ProgramDesc` is now automatically detecting whether the bytes it receives is in legacy format(contains any of the operators that has been incompatibly updated and have any attribute of type `Scalar`) and convert it to new format. But if you want a faithful deserialization without the automatic conversion, you can use protobuf's deserialization instead. Though it is not recommended, it can be used for the purpose of testing.
-
- 13 3月, 2023 1 次提交
-
-
由 JYChen 提交于
-
- 09 3月, 2023 1 次提交
-
-
由 zqw_1997 提交于
* move fluid.utils to paddle.utils.layers_utils * fix error * delete original fluid layers utils * remove import and old utils * remove more old utils import * change import path of fill_constant in the layers_utils.py * fix mistake * fix error * expose in __init__.py * for comment * when change the ref of func is_sequence, it should change to the root of is_sequence instead * for codecheck
-
- 15 2月, 2023 1 次提交
-
-
由 WangZhen 提交于
-
- 14 2月, 2023 1 次提交
-
-
由 mhy-666 提交于
-
- 12 12月, 2022 1 次提交
-
-
由 feifei-111 提交于
-
- 01 12月, 2022 2 次提交
-
-
由 Aurelius84 提交于
* [Fluid Clean]Migrate utils files and delete dygraph_to_static dir * fix setup.py.in * fix import * fix unittest * fix code style * fix unittest
-
由 heyanru 提交于
-
- 08 11月, 2022 1 次提交
-
-
由 xiongkun 提交于
* fix tensor_array slice bugs in _getitem_impl_ * fix when var is a paddle.Tensor * code format
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 11 10月, 2022 1 次提交
-
-
由 傅剑寒 提交于
* add fp16 data type for set_value * cancel flip modification * add fp16 dtype support for set_value
-
- 14 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* trim trailing whitespace * fix `.cmake-format.py` * revert npu ut changes, avoid npu ci error
-
- 05 9月, 2022 1 次提交
-
-
由 Aurelius84 提交于
-
- 02 9月, 2022 1 次提交
-
-
由 xiongkun 提交于
* 1. make list transformer into jit form. 2. fix some bugs in tensor_array, such as append. 3. enhance the function analysis visitor to recognize push/pop. 4. add setter/getter helper to deal with 2+ name sets. * fix ci errors: 1. add to_tensor_array logic in convert_cond 2. fix IfExpr error. 3. fix erros while return_names or push_pop_names is None 4. fix slice error in a[i]=1 where a is tensor_array 5. add pop interface in Variable
-
- 26 8月, 2022 1 次提交
-
-
由 wanghuancoder 提交于
-
- 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
-
- 07 5月, 2022 1 次提交
-
-
由 zyfncg 提交于
-
- 13 4月, 2022 1 次提交
-
-
由 zyfncg 提交于
* adjust the slice end in getitem * fix bug * fix bug * fix bug * recover start change
-
- 04 4月, 2022 1 次提交
-
-
由 FlyingQianMM 提交于
* support getitem when index is a all-false bool tensor * use cond to replace if * add static_graph geitem unit test when index is a bool tensor
-
- 30 3月, 2022 1 次提交
-
-
由 pangyoki 提交于
* suppor inplace in tensor_method_setitem * delete bump_inplace_version * optimize inplace unittest * fix * fix setitem bug * update eager_generator * optimize inplace unittest * little change
-
- 25 3月, 2022 2 次提交
-
-
由 Jiabin Yang 提交于
* refactor eager flags * fix flags error when we switch from eager to dygraph * fix ci problem * fix ci * fix ci * merge develop and fix code style * merge develop and fix code style * fix op test error * fix op test error * fix op test error * fix op test error * fix op test error * merge develop
-
由 FlyingQianMM 提交于
* support get_item where the index is a bool scalar tensor * add unittests for supporting get_item where the index is a bool scalar tensor
-
- 23 3月, 2022 1 次提交
-
-
由 wanghuancoder 提交于
* fix some slice bug, test=develop * eager slice, test=develop * eager slice, test=develop * refine, test=develop * refine, test=develop * fix bug, test=develop * refine, test=develop * rename function name, test=develop
-
- 21 12月, 2021 1 次提交
-
-
由 zyfncg 提交于
* add inplace_map for trace_op in pybind * fix inplace problem of setitem * refactor the param format of trace_op Co-authored-by: Npangyoki <pangyoki@126.com>
-
- 01 12月, 2021 1 次提交
-
-
由 zyfncg 提交于
-
- 22 11月, 2021 1 次提交
-
-
由 zyfncg 提交于
-
- 15 9月, 2021 1 次提交
-
-
由 WeiXin 提交于
* support numpy.ndarray index. * polish code.
-
- 01 9月, 2021 1 次提交
-
-
由 zyfncg 提交于
* Support getitem by Bool index * delete some debug info of bool index * support the case that the shape of bool index is different from indexed tensor * support setitem by bool index * add the unittest for throwing exception * merge conflict * add check for int tensor when index is bool
-
- 26 8月, 2021 1 次提交
-
-
由 WeiXin 提交于
* polish code * polish code. * polish code. * polish code. * polish code.
-
- 23 8月, 2021 1 次提交
-
-
由 zyfncg 提交于
* Support getitem by Bool index * delete some debug info of bool index * support the case that the shape of bool index is different from indexed tensor
-
- 04 8月, 2021 1 次提交
-
-
由 WeiXin 提交于
* supplement the function of slice * edit unittest * strided_slice_op support . * polish error message. * polish error message. * polish code. * polish unittest. * polish code. * polish code * polish error message.
-
- 30 7月, 2021 1 次提交
-
-
由 zyfncg 提交于
* Support setitem by None index * remove unreachable code * Add Checkpoint for set_value_op because add a new attribute
-
- 11 6月, 2021 1 次提交
-
-
由 Huihuang Zheng 提交于
For python, if users write `a, b = var`, the `__getitem__` method will iterate through 0, 1, 2 ... until `__getitem__` throws an IndexError, then stop. The var[0], var[1] will be given to a, b respectively. If more values are given, the unpack size would cause error. We didn't raise the IndexError in the past and we add statement in `__getitem__` to raise IndexError here to support grammar like `a, b = var` in this PR.
-
- 10 6月, 2021 1 次提交
-
-
由 liym27 提交于
-
- 09 6月, 2021 1 次提交
-
-
由 liym27 提交于
-