- 29 3月, 2023 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 28 3月, 2023 1 次提交
-
-
由 Feiyu Chan 提交于
Add basic functionalities to support Scalar & Scalars in operator attribute. 1. extend allowed types in operator's attribute type, add `paddle::experimental::Scalar`, add corresponding protobuf Message types; 2. Scalar enhancement, add formatting, equality; 3. add code to handle Scalar & Scalars in opmaker, conversion from paddle operator to phi kernel, opdesc construction and manipulation, tensorrt converter, tracer, operator construction, etc; 4. bind `paddle::experimental::Scalar` to python, as `libpaddle.Scalar`; 5. add functionality to canonicalize attribute map according to OpProto(if the op the attribute map used for has an OpProto); 6. add code to manipulate Scalar proto message via protobuffer python API; Add unittests. 1. add test cases for formatting, equality for Scalars, and WrapAsScalars; 2. add test cases for 'casting' between different morphs of attributes; 3. add test cases for extracting scalar & scalars from attribute; 4. add test cases for CanonicalizeScalarAttrs(and fix a bug in type index offset); 5. fix gmock's library filename on windows platform. 6. clean code: use canonicalize_attrs instead of inlining the function; 7. add test cases for libpaddle.Scalar in python code. 8. add test cases for `make_scalar_proto`, which manipulate proto message `Scalar` via protobuffer python API.
-
- 21 3月, 2023 3 次提交
-
-
由 HongyuJia 提交于
* [Fix typo] Fix typo error in grad_node_info.h * fix varbase_patch_methods.py typo error * fix more typo errors
-
由 zhouweiwei2014 提交于
* [Zero-Dim] Support output 0D for argmin/argmax/median/kthvalue/mode/equal_all/allclose * fix CI
-
由 zhouweiwei2014 提交于
[Zero-Dim] Support 0D for numel/rank/size/optimizer/create_parameter/create_global_var, fix some usage to adapt 0D (#51566)
-
- 20 3月, 2023 2 次提交
-
-
由 zhouweiwei2014 提交于
-
由 GGBond8488 提交于
* remove no used fluid beam_search_decoder * move Layer and related helper to paddle.nn.common * modify Layer references from dygraph.layers.Layer to paddle.nn.common.layers * stash changge * remove fluid layer_object_helper, layers.py * remove fluid layers init * add setip * fix unitest * delete layers in fluid.dygraph * merge paddle.tensor.stat,py * fix circle import * fix curcle import * remove redundant in_dygraph_mode import * revoce paddle.nn.common.* in fluid.__init__ * recovery nn.rnn * paddle.frame use lazy import import paddle.jit to avoid circle import * remove left dygraph.layers ref * merge develop * fix import error * fix test error * fxi merge error * fix test fluid.Layer * fix test error * fix test error * fix import error * fix import error * fix comments * fix circle import * fix rnn import error * fix circle import
-
- 14 3月, 2023 1 次提交
-
-
由 zhouweiwei2014 提交于
-
- 02 3月, 2023 1 次提交
-
-
由 qizhaoaoe 提交于
* fluid clean: remove parallel and parallel_helper api * fix: fix the import path. * fix DataParallel imports issue
-
- 23 2月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* remove dygraph.profiler * remove fluid.input.one-hot and move embedding to paddle.static.nn * fix unitest error * fix type error * fix type error * fix xpu test error * fxi sample code error * fxi sample code error * fix sample code error * remove test.py * remove variable in docstr
-
- 22 2月, 2023 2 次提交
-
-
由 Hui Zhang 提交于
* add enable_grad, reafctor no_grad, set_grad_enabled * fix bug * fix bug * format * fix bug * format * format * fix doc * fix * fix * fix bug * fix comment
-
由 Shuangchi He 提交于
* Fix some typos. Signed-off-by: Yulv-git <yulvchi@qq.com> * pre-commit Signed-off-by: Yulv-git <yulvchi@qq.com> --------- Signed-off-by: Yulv-git <yulvchi@qq.com>
-
- 14 2月, 2023 1 次提交
-
-
由 mhy-666 提交于
-
- 09 2月, 2023 1 次提交
-
-
由 zqw_1997 提交于
* remove dygraph.parallel.ParallelEnv * logger.py error: AttributeError: module 'paddle' has no attribute 'distributed' * move the implenmentation to the root folder * logger.py import ParallelEnv from paddle.parallel to avoid circular import * add the comment of why import ParallelEnv from paddle.parallel in logger.py and remove the api interface in the paddle/parallel.py * outdated Env and note removed * decouple the logger.py and ParallelEnv * remove another ref of parallel in init.py
-
- 31 1月, 2023 1 次提交
-
-
由 HongyuJia 提交于
-
- 17 1月, 2023 1 次提交
-
-
由 xiongkun 提交于
* rebase merge * code fix * fix bugs
-
- 13 1月, 2023 1 次提交
-
-
由 wanghuancoder 提交于
-
- 09 1月, 2023 1 次提交
-
-
由 xiongkun 提交于
* [Dy2static] Add ParameterRecorder * filter by shape(tensor)==0 * fix code by review * fix random failed in CI. (especially coverage) * fix bugs * remove API changes to avoid static CI approval
-
- 05 1月, 2023 1 次提交
-
-
由 zhangkaihuo 提交于
-
- 03 1月, 2023 1 次提交
-
-
由 GGBond8488 提交于
* remove fluid.save_dygraph and fluid.load_dygraph use paddle.save and paddle.load instead * move Sequential to paddle.nn * modify convert_call_func.py Sequential reference * remove related unitests * remove fluid.dynamic.Sequntial * test remove conver_call_func * fix conflicts * fix typro * fix unitests * fix sample_code * fix unitest * fix __init__
-
- 30 12月, 2022 3 次提交
-
-
由 risemeup1 提交于
* delete batch_norm * test * test * test * test * test * recover cmake_gen * debug
-
由 Sanbu 提交于
* 1219 * temporarily change the num_diff_files limit, test=document_fix * Revert "temporarily change the num_diff_files limit, test=document_fix" This reverts commit 8e70f00ef468d2dad0e38b3da06295ed62990d20. * for codestyle * remove duplicate license * `static mode` -> `static graph mode` * Update hybrid_parallel_inference.py * Update layer_function_generator.py * Update manipulation.py * reset Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com> Co-authored-by: NSigureMo <sigure.qaq@gmail.com>
-
由 姜永久 提交于
* rm legacy * clear in_legacy * fix tracer
-
- 29 12月, 2022 2 次提交
-
-
由 wangzhen38 提交于
* [fluid remove] rawconv
-
由 姜永久 提交于
* rm legacy dygraph part7 * rm non_static_mode * modify * modify * add static test * set static for lstm_cudnn test * reset tracer * reset varbase * fix
-
- 21 12月, 2022 2 次提交
-
-
由 niuliling123 提交于
-
由 wangxiaoning 提交于
* add index sample fp16 support * remove fluid APIs in distributed_strategy.py and role_maker.py * Revert "remove fluid APIs in distributed_strategy.py and role_maker.py" This reverts commit 223bbee990d3bf69e252fc3c0f19e3873550a264. * remove fluid APIs in distributed_strategy.py and role_maker.py * remove index sample op changes * remove fluid APIs under fleet.base * remove fluid APIs under fleet.layers.mpu * remove fluid APIs under fleet.meta_optimizers * fix fluid error * fix util_factory.py * reset fluid.io.load_inference_model API * remove dygraph.parallel.prepare_context * remove fluid.dygraph.StaticModelRunner API * remove split_lod_tensor merge_lod_tensor * remove unittests
-
- 20 12月, 2022 1 次提交
-
-
由 Nyakku Shigure 提交于
-
- 19 12月, 2022 2 次提交
- 16 12月, 2022 2 次提交
-
-
由 YuanRisheng 提交于
* move translated layer * fix build bugs * fix unittest bug * trigger ci
-
由 学渣戊 提交于
* fix docstring: 1. 去除 python/paddle/fluid/dygraph/nn.py 中 BatchNorm 类说明中示例代码里 numpy 的使用,为参数 data_layout 说明中 "NCHW" 里的各字母含义做了具体说明; 2. 为 python/paddle/nn/functional/norm.py 中 batch_norm 函数中参数 data_format 说明中的 "NCDHW" 里的各字母含义做了具体说明; 3. 为 python/paddle/nn/layer/norm.py 中 BatchNorm、BatchNorm1D、BatchNorm2D 以及 BatchNorm3D 类中参数 data_format 说明中的 "NCDHW" 里的各字母含义做了具体说明; 4. 修正 python/paddle/nn/layer/loss.py 中 BCELoss 类的 Shapes 说明格式错误问题,以及 BCEWithLogitsLoss 类的 Shapes 说明格式错误问题和 Examples 出错问题; 5. 修改 python/paddle/nn/functional/loss.py 中 binary_cross_entropy 函数以及 binary_cross_entropy_with_logits 函数 Returns 说明的描述,使它们与其他函数说明相似; 6. 将 python/paddle/nn/decode.py 中 BeamSearchDecoder 类 `__init__` 方法 docstring 里的参数说明提前到类说明中去。 * 根据 Review 意见进行修改。 * 修正 在线文档 中提及的错误。
-
- 13 12月, 2022 2 次提交
-
-
由 jjyaoao 提交于
* first pr * Revise nn.py * Revise nn.py 2.0 * Revise rnn.py;test=document_fix * test=document_fix Co-authored-by: NLigoml <39876205+Ligoml@users.noreply.github.com>
-
由 Qi Li 提交于
-
- 12 12月, 2022 1 次提交
-
-
由 risemeup1 提交于
* move BatchNorm from flud.dygraph.nn to paddle.nn.layer.norm * modfiy conflict * modify pre-commit error * modify static-check ci error * fix failed tests * modify conflict * modify conflict * delete import modelu GRUUnit * fix falied test * fix failed testes * fix failed tests * fix failed tests * fix failed test * fix error in test_fused_resenet_basic_block_op_xpu.py * modify after xiaoguang reviewed
-
- 10 12月, 2022 2 次提交
-
-
由 wangzhen38 提交于
* [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding * [remove fluid] fluid dygraph Embedding
-
由 sneaxiy 提交于
-
- 09 12月, 2022 1 次提交
-
-
由 cyber-pioneer 提交于
-
- 08 12月, 2022 2 次提交
-
-
由 wangzhen38 提交于
* [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] under unittesets of linear api * [remove fluid] fluid dygrapn linear api * [remove fluid] fluid dygrapn linear api * [remove fluid] fluid dygrapn linear api
-
由 lugimzzz 提交于
-