- 25 6月, 2023 1 次提交
-
-
由 Yuanle Liu 提交于
-
- 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.
-
- 06 4月, 2023 1 次提交
-
-
由 Kim Yann 提交于
* rem is_compiled_with_npu * rem nup related code * make lint happy * rem test * remove some tests * Update grad_scaler.py * fix an error
-
- 03 4月, 2023 1 次提交
-
-
由 Kim Yann 提交于
* rem is_compiled_with_mlu * fix some mlu_place and mlu_device_coount * make lint happy
-
- 31 3月, 2023 1 次提交
-
-
由 张春乔 提交于
* autofix Co-authored-by: NLiyulingyue <83450930+Liyulingyue@users.noreply.github.com> * revert changes in python/paddle/distributed/fleet/utils/hybrid_parallel_util.py * empty commit, trigger ci * fix test_slice --------- Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
- 23 3月, 2023 1 次提交
-
-
由 Infinity_lee 提交于
-
- 22 3月, 2023 1 次提交
-
-
由 iSerendipity 提交于
-
- 21 3月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* remove fluid.data * fix typro * fix somme unitest error * fix conflicts * fix sample code error * fxi sample coder error * fxi sample code error * fxi sample code error * fix xpu test error * fix xpu test error * Delete ps_pb2.py * fix test error * fix typro * fix sample code error * fix comments * fix test norm op data * fix sample code error * fix conflicts
-
- 08 3月, 2023 1 次提交
-
-
由 YuanRisheng 提交于
* move io * fix ci bugs * fix ci bugs * fix py3 bugs * fix example code * fix example code * fix text * fix text * deal with ci bugs * perfect code according comment * delete import batch
-
- 20 12月, 2022 1 次提交
-
-
由 Zhibao Li 提交于
* fix api docs format problems 121-131 * fix English docs #49042 * resolve conflict; test=document_fix Co-authored-by: Ligoml <limengliu@tiaozhan.com>
-
- 29 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* isort all files * revert conflicting files * revert conflicting files * revert conflicting files
-
- 26 11月, 2022 1 次提交
-
-
由 201716010711 提交于
-
- 01 11月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle][E711] use `is`/`is not` for comparison with `None` * `self.assertTrue($A is None)` -> `self.assertIsNone($A)` * `self.assertTrue($A is not None)` -> `self.assertIsNotNone($A)` * `self.assertFalse($A is None)` -> `self.assertIsNotNone($A)` * `self.assertEqual($A, None)` -> `self.assertIsNone($A)` * `self.assertNotEqual($A, None)` -> `self.assertIsNotNone($A)`
-
- 23 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* update config * re-blacken python code * temporarily disable date and diff_py_file * skip a format
-
- 19 10月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 10 10月, 2022 1 次提交
-
-
由 Shuangchi He 提交于
[CodeStyle][F401] remove unused imports in python_paddle/io_costmodel_geometric_vision_static. (#46755) Signed-off-by: Yulv-git <yulvchi@qq.com> Signed-off-by: Yulv-git <yulvchi@qq.com>
-
- 27 9月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* [CodeStyle] remove all future import * revert test_error.py * restore future import in example code
-
- 26 9月, 2022 1 次提交
-
-
由 zyfncg 提交于
-
- 25 9月, 2022 1 次提交
-
-
由 zyfncg 提交于
-
- 22 9月, 2022 1 次提交
-
-
由 张春乔 提交于
* 1. Delete some expression like 'This Op' 2. remove import numpy as np * test=document_fix * fix eg; test=document_fix * fix 'import numpy' cases; test=document_fix * fix 'import numpy' cases; test=document_fix * fix some docs; test=document_fix * delete raise; test=document_fix * add some introduction; test=document_fix * add some introduction; test=document_fix * test=document_fix * Fix ’note‘ format; test=document_fix * Fix Returns of cholesky; test=document_fix * Fix Example format; test=document_fix * Fix det; test=document_fix * Fix eig; test=document_fix * Fix eigh; test=document_fix * Fix eigh; test=document_fix * Apply suggestions from code review;test = document_fix Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com> * Apply suggestions from code review;test = document_fix Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com> * Apply suggestions from code review;test = document_fix Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com> * test=document_fix * test=document_fix * KLDiv;test=document_fix * norm example code; test=document_fix * revert python/paddle/fluid/**/* * revert python/paddle/distributed/spawn.py * revert python/paddle/fluid/* * fix a `Note` format * Fix inv; test=document_fix * Fix lu; test=document_fix * Fix lu_unpack; test=document_fix * Fix matrix_power; test=document_fix * Fix multi_dot; test=document_fix * Fix solve; test=document_fix Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com>
-
- 10 8月, 2022 1 次提交
-
-
由 Aurelius84 提交于
-
- 08 8月, 2022 1 次提交
-
-
由 ReganYue 提交于
* Update creation.py 修复Returns格式问题 * 【Fix en docs】 Fix document formatting 修复Returns和Return Type格式问题。 * 修复格式,解决中英文文档不一致问题 为了解决中英文不一致的问题,统一将Returns内容第一个标点符号改成逗号。删掉Return Type * fix大量 与 Return Type 和 Return相关的文档 * Convert Variable and LoDTensor to Tensor * Update python/paddle/nn/functional/common.py Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com> * Update detection.py * Update io.py * Update io.py * Update loss.py * Update loss.py * Update io.py * Update io.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update nn.py * Update sequence_lod.py * Update sequence_lod.py * Update sequence_lod.py * Update sequence_lod.py * Update sequence_lod.py * Update sequence_lod.py * Update sequence_lod.py * Update sequence_lod.py * Update sequence_lod.py * Update sequence_lod.py * Update sequence_lod.py * Update metrics.py * Update metrics.py * Update metrics.py * Update metrics.py * Update metrics.py * Update nets.py * Update reader.py * Update nn.py * Update io.py * Update nn.py * Update io.py * remove Return Type to Returns * Update sequence_lod.py * Update sequence_lod.py * Update common.py * Update common.py * Update extension.py * Update creation.py * update*test=document_fix * Update io.py * Update manipulation.py * Update sequence_lod.py * Update common.py * Update common.py * Update common.py * Update common.py * update*test=document_fix * update*test=document_fix * Update loss.py * Update loss.py * update*test=document_fix * paddle.crop * for ci;test=document_fix * update io;test=document_fix * Update io.py * update sequence_expand docs;test=document_fix * update note typos;test=document_fix Co-authored-by: NNyakku Shigure <sigure.qaq@gmail.com> Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
-
- 04 8月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
* add name attribute to code-block, test=document_fix * remove redundant labels, test=document_fix * remove redundant labels (from upstream), test=document_fix * more COPY-FROM (try multiple code example), test=document_fix * empty commit, try to trigger PR-CI-build * fix some `Examples:` format issues * fix some ci errors
-
- 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
-
- 15 9月, 2021 1 次提交
-
-
由 王明冬 提交于
* clip op extra information when export model,test=ocr * rename clip_extra parameter to kwargs in save_inference_model, test=ocr
-
- 27 8月, 2021 1 次提交
-
-
由 王明冬 提交于
-
- 23 8月, 2021 1 次提交
-
-
由 Wilber 提交于
-
- 28 7月, 2021 1 次提交
-
-
由 jiangcheng 提交于
This PR added optional boolean is_parameter and stop_gradient in the VarDesc proto, and remove them during save_inference_model
-
- 08 6月, 2021 1 次提交
-
-
由 Shibo Tao 提交于
* fix: paddle.static.default_main_program. test=develop * add normalize_program to __all__. test=develop
-
- 29 4月, 2021 1 次提交
-
-
由 zhiboniu 提交于
add __all__=[] to python files not in API public list; import * only support in API public list files (#32643)
-
- 26 4月, 2021 1 次提交
-
-
由 zhiboniu 提交于
-
- 20 2月, 2021 1 次提交
-
-
由 Shibo Tao 提交于
* export paddle.static.normalize_program method. test=develop * fix ut coverage.test=develop
-
- 29 12月, 2020 1 次提交
-
-
由 Chen Long 提交于
* fix code bugs * fix code bugs test=document_fix * fix code bugs test=document_fix
-
- 27 11月, 2020 1 次提交
-
-
由 Shibo Tao 提交于
-
- 26 11月, 2020 1 次提交
-
-
由 Shibo Tao 提交于
add API serialize_program, serialize_persistables, save_to_file, deserialize_program, deserialize_persistables, load_from_file. (#29034)
-
- 24 11月, 2020 1 次提交
-
-
由 Leo Chen 提交于
* upgrade comment string to raw string * fix string in * fix string with ' ' * revert update on comments * upgrade only necessary * fix sample code checker * fix comments with '''
-
- 19 11月, 2020 2 次提交
- 18 11月, 2020 1 次提交
-
-
由 Shibo Tao 提交于
add two paddle-2.0 apis: paddle.static.io.save_inference_model and paddle.static.io.load_inference_model (#28606) * add two apis: paddle.static.io.save_inference_model and paddle.static.io.load_inference_mode, which are campatible with paddle.fluid.io.save_inference_model and paddle.fluid.io.load_inference_model respectively. * add unittest for new save_inference_model and load_inference_model. test=develop * enhance doc. test=develop * add paddle.enable_static() to test_inference_model_io.py. test=develop
-