tensor-tang
962cb25c9d
fix crash when disable WITH_SWIG_PY
8 years ago
helinwang
245f622520
Merge pull request #3479 from helinwang/recordio
...
Fix local recordio reader
8 years ago
dongzhihong
4c9699c5f8
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mul_op
8 years ago
Tao Luo
33d502e73b
Merge pull request #3461 from tensor-tang/mklso
...
add shared mkl lib in whl
8 years ago
Yan Chunwei
0079fa3256
Rnn make stepnet member ( #3469 )
...
* make stepnet member
* add pybind support
* fix Inputs Outputs
* remove unique_ptr
8 years ago
Helin Wang
c3bda2acf8
Add recordio as paddle's dependency.
8 years ago
Helin Wang
2da240c7ec
fix local recordio reader
8 years ago
tensor-tang
9638c142fb
refine
8 years ago
dangqingqing
9a0eedf5d4
fix bug.
8 years ago
dangqingqing
01d9134067
Add test_gradient_checker.py
8 years ago
dangqingqing
cf2f23ccb1
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into bp_test
8 years ago
dangqingqing
84d6434d53
Compare the gradient consistency between GPU and CPU calculations.
8 years ago
wanghaoshuang
957aa691b4
Fix pnpair_evaluator.
...
1. Append info into input after label and before weight.
8 years ago
dongzhihong
43ba24e051
Merge remote-tracking branch 'origin/develop' into add_op_gradient
8 years ago
Luo Tao
3321dd034b
Merge branch 'develop' into huber_loss
8 years ago
wanghaoshuang
e66d728328
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_pnpair
8 years ago
wanghaoshuang
32a60971f0
Fix pnpair_evaluator.
8 years ago
dongzhihong
632b320e9d
"refine argument with new style "
8 years ago
tensor-tang
075a9724fc
Merge remote-tracking branch 'upstream/develop' into mklso
8 years ago
dongzhihong
426d7328a0
Merge remote-tracking branch 'origin/develop' into mul_op
8 years ago
Luo Tao
e6db484d15
make clear that current huber_cost is for two-classification
8 years ago
caoying03
1e828dc1de
Merge branch 'develop' into cross_entropy_over_beam
8 years ago
Yu Yang
81f5f86140
Merge pull request #3322 from wangkuiyi/refactorize_framework_proto
...
Refactorize framework/*.proto
8 years ago
tensor-tang
07fdaf79b6
1. use local lib as runtime path of paddle for mkl shared libs.
...
2. fix path of bin files
8 years ago
Yu Yang
4a604c2651
Polish Our code by YuYang's review
8 years ago
caoying03
44ae44da49
add configuratioin helpers.
8 years ago
superjom
a0b49a6c5b
add test to CMAKE
8 years ago
superjom
0d1bc8ab9b
fix res
8 years ago
superjom
b1b71eab6c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into rnn_forward_result_test
8 years ago
tensor-tang
6f045f9a04
add mkl shared lib into whl
8 years ago
Yi Wang
452f3cc0e1
Merge pull request #3419 from luotao1/setup_requests
...
auto update the requirements in .travis.yml with python/setup.py.in
8 years ago
Yu Yang
610a25844f
Fix all unit tests in Python
8 years ago
Yu Yang
d6d46412ef
Merge branch 'develop' of github.com:baidu/Paddle into final_fixes
8 years ago
Yi Wang
0dc75ab3ef
Merge pull request #3410 from jacquesqiao/numeric-gradient-design
...
add auto gradient check design doc
8 years ago
Yi Wang
96fc9e7d1b
Merge pull request #11 from reyoung/fix_python_tests
...
Fix python unit tests
8 years ago
Yu Yang
a81b353788
Merge pull request #3417 from reyoung/feature/remove_fc_op_in_cpp
...
Remove FC Op, since it should be added in Python side
Fix #3418
8 years ago
Luo Tao
0dc9c6c41a
auto update the requirements in .travis.yml with python/setup.py.in
8 years ago
Yu Yang
133a8ea7fd
Polish Error message
8 years ago
Yancey
7e8c337a68
Fix save large parameters failed ( #3397 )
...
Fix save large parameters crashed
8 years ago
Yu Yang
9a592ec3aa
Remove FC Op, since it should be added in Python side
8 years ago
武毅
01e9e44348
able to print gradients in event_handler ( #3085 )
8 years ago
caoying03
b7359ee3ce
Merge branch 'develop' into add_sequence_slice_layer
8 years ago
Yu Yang
c99f84aced
Fix python unit tests
8 years ago
武毅
886e66a5ff
golang pserver use OptimizerConfig.proto ( #3358 )
...
* golang pserver optimizer config for user
* update
* update
* update
* update
* update by comments
* fix errors
* fix errors
8 years ago
caoying03
b97f020f9c
fix unittest error.
8 years ago
qiaolongfei
f485a9bc50
add auto gradient check design doc
8 years ago
Yiqun Liu
2e87d747bd
Merge pull request #3337 from tensor-tang/merge
...
Enable mkldnn_fc for general format
8 years ago
Yi Wang
2ca13944b6
Merge pull request #3378 from gangliao/proj_name
...
Rename PROJ_ROOT to PADDLE_SOURCE_DIR and PROJ_BINARY_ROOT to PADDLE_…
8 years ago
gangliao
be473a62eb
Merge pull request #3357 from jacquesqiao/python-test
...
support python test without installation python package
8 years ago
Yu Yang
7fab7ddd7d
Merge branch 'develop' of github.com:baidu/Paddle into feature/refactorize_framework_proto
8 years ago
qiaolongfei
3df8ee1ff7
use lib-python as python test dir
8 years ago
qingqing01
7202f425dd
Merge branch 'refactorize_framework_proto' into feature/refactorize_framework_proto
8 years ago
Yu Yang
3f34ff8f9f
Comment test_gaussian_random_op for hotfix
8 years ago
qiaolongfei
ba0221781f
Merge branch 'tttt' of https://github.com/gangliao/Paddle into python-test
8 years ago
qiaolongfei
c304e02813
fix py_padde test
8 years ago
dongzhihong
2ddb11222a
"on hold"
8 years ago
liaogang
7a56d46a8a
Rename PROJ_ROOT to PADDLE_SOURCE_DIR and PROJ_BINARY_ROOT to PADDLE_BINARY_DIR
8 years ago
caoying03
7ff689f55a
Merge branch 'develop' into add_sequence_slice_layer
8 years ago
dongzhihong
7c0cb0c790
"fix ci launch"
8 years ago
tensor-tang
b2bd67133a
rename and refine functions
8 years ago
dzhwinter
56faf51343
Merge pull request #3060 from dzhwinter/random_op
...
Random op
8 years ago
dongzhihong
68bfc3ff96
"add python test"
8 years ago
qingqing01
665e1a335b
Update grad_op_builder after refactoring framework proto.
8 years ago
liaogang
5e5c441245
Enable Python Unit Test before make install
8 years ago
dongzhihong
f702e7977d
"relauch ci"
8 years ago
qiaolongfei
e2ccbccb02
support python test without installation python package
8 years ago
Yu Yang
f0a85b0805
Rename __is_close -> assert_is_close()
8 years ago
Yu Yang
c957445c72
A better error message for gradient checker
...
* Give which parameter, which element are wrong. And what max_diff is.
8 years ago
dongzhihong
bbd7378b43
"ci job failed weired. restart ci job."
8 years ago
dongzhihong
6bac3e17b5
"remove unused test net modified"
8 years ago
tensor-tang
f6a940936b
remove unused comments, refine and rename
8 years ago
dongzhihong
d98e299d3b
"keep same with uniform random op"
8 years ago
dongzhihong
b7ee1e7d9c
"backward check todo"
8 years ago
dongzhihong
6535a7b001
Merge remote-tracking branch 'origin/develop' into random_op
8 years ago
tensor-tang
abc49f74af
Merge remote-tracking branch 'upstream/develop' into merge
8 years ago
tensor-tang
6373291c77
add test case use_mkldnn_wgt
8 years ago
Qiao Longfei
e31a469ee0
add gradient test framework ( #3226 )
...
* init grad op checker
* can run
* add GradeChecker class
* use get_numeric_gradient
* refine code
* add softmax and cross entropy auto grad test
* use close to judge op_grad and numeric_grad
* add cpu and gpu compare
* add comments
* add support_gpu
* fix allclose
* fix name error and symplify code
* optimize gradient checker
* add test_cross_entropy_op
* update gradient_checker.py
* optimize code
* use random.uniform instead of random.random
* fix type bug
* optimize check_grad
* put SupportGPU into OperatorBase
* typo
8 years ago
dongzhihong
23ac845921
Merge remote-tracking branch 'origin/develop' into random_op
8 years ago
superjom
e9a92e3ed8
add fc test
8 years ago
Yu Yang
6540701f39
Merge pull request #3293 from reyoung/feature/uniform_random_op
...
Add uniform random operator
8 years ago
caoying03
34ff75221f
Merge branch 'develop' into add_sequence_slice_layer
8 years ago
superjom
001b62a4c7
finish simple rnn in python
8 years ago
dongzhihong
8804b242d8
Merge remote-tracking branch 'origin/develop' into random_op
8 years ago
caoying03
92b2b1bd73
Merge branch 'develop' into kmax_score_layer
8 years ago
dongzhihong
52d2ebdaef
"test gaussian random in python side"
8 years ago
Yu Yang
174a3b3ec6
Merge branch 'develop' of github.com:baidu/Paddle into feature/uniform_random_op
8 years ago
Cao Ying
d9f97b023d
Merge pull request #3297 from lcy-seso/add_nest_sequence_select
...
Add a nest sequence select layer.
8 years ago
Yu Yang
b861c01963
Merge branch 'develop' into feature/uniform_random_op
8 years ago
fengjiayi
e7b3e13959
Rewrite test based on new python test format
8 years ago
fengjiayi
5d2b3fb09d
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_FillZerosLikeOp_test
8 years ago
Yu Yang
ffd6c3cea6
Merge branch 'develop' into feature/change_op_creation
8 years ago
Yu Yang
e5847924f3
Merge branch 'develop' of github.com:baidu/Paddle into feature/uniform_random_op
8 years ago
caoying03
84627bb934
add config helper for sequence slice layer.
8 years ago
Qiao Longfei
493396d81c
add support_gpu ( #3304 )
...
* add support_gpu
* fix allclose
* fix name error and symplify code
8 years ago
caoying03
59a8ebc62a
Merge branch 'develop' into kmax_score_layer
8 years ago
武毅
36ac89b9c4
Put everything in paddle python wheel package enable pip install paddle ( #3102 )
...
* put everything in paddle wheel
* update
* update
* fix unitest
* with platform specs
8 years ago
caoying03
94686c5751
Merge branch 'develop' into add_nest_sequence_select
8 years ago
caoying03
98a83cd280
follow comments.
8 years ago
caoying03
42c102a0b3
follow comments.
8 years ago
dongzhihong
58561d8f56
Merge remote-tracking branch 'origin/develop' into random_op
8 years ago
Yu Yang
d7f0eb6baf
Merge branch 'feature/change_op_creation' into feature/uniform_random_op
8 years ago
Yu Yang
460326f4b2
Fix CI Test
8 years ago
Yi Wang
efa50a4525
Merge pull request #3181 from qingqing01/sigmoid_bp
...
Sigmoid backward implementation.
8 years ago
Yu Yang
9f816352e5
Follow comments
8 years ago
Yan Chunwei
7665bdba13
Rnn forward logic test ( #3291 )
...
* finish forward debug
8 years ago
Yu Yang
5d074c917c
Merge branch 'develop' into feature/change_op_creation
8 years ago
caoying03
ffafc5c911
fix the SubNestedSequenceLayer implementations.
8 years ago
gangliao
ec2c753c3d
Merge pull request #3290 from PaddlePaddle/cblas_new
...
Import HPC linear algebra libs as cblas target for cc_library deps
8 years ago
Yu Yang
fd0bdb4f8a
Merge branch 'feature/change_op_creation' into feature/uniform_random_op
8 years ago
dangqingqing
9f490c7748
update to develop branch.
8 years ago
liaogang
7ecdf6ad93
Add py_test
8 years ago
Yu Yang
e376bda42c
Add uniform random operator
...
It can be run both CPU/GPU. configure attributes are:
* min: the min value of uniform random
* max: the max value of uniform random
* dims: the dimension of output tensor
* seed: the random seed of uniform random. 0 means generate a seed each
time.
8 years ago
dangqingqing
f72cefabce
fix typo and resolve conflicts.
8 years ago
Yu Yang
a1e16bb5d3
Merge branch 'develop' into feature/change_op_creation
8 years ago
dongzhihong
2447c34a0e
merge origin/develop
8 years ago
Yan Chunwei
c72253127f
crossentropy grad op ( #3186 )
...
* init cross entropy graident
* add crossentropy grad op
* remove details
* fix static compile
8 years ago
Yu Yang
03a38b3d55
Merge pull request #3210 from reyoung/feature/fast_python_unittest
...
Faster Python unittest
8 years ago
QI JUN
10ee3dcbcf
Merge pull request #3248 from QiJune/refine_op_test_compare
...
use isclose instead of assert_almost_equal
8 years ago
Yu Yang
2a3de61785
Merge branch 'reformat-paddle-operators' into feature/fast_python_unittest
8 years ago
Yu Yang
b4ebb3c85c
Change attr_type_pb2 to attribute_pb2
...
Make ci pass
8 years ago
Yu Yang
329370e8ca
Merge branch 'develop' of github.com:baidu/Paddle into feature/fast_python_unittest
8 years ago
caoying03
89ea288c87
Merge branch 'develop' into kmax_score_layer
8 years ago
caoying03
83ce2dce5f
split sorting into another layer. fix config helper.
8 years ago
caoying03
00b6d26684
Merge branch 'develop' into add_nest_sequence_select
8 years ago
caoying03
927adb4a41
Merge branch 'develop' into kmax_score_layer
8 years ago
helinwang
ef8de51587
Merge pull request #3247 from Yancey1989/convert_all_dataset
...
convert dataset into recordio format
8 years ago
fengjiayi
9b0fce516a
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_FillZerosLikeOp_test
8 years ago
qijun
dcdd2903fe
use isclose instead of assert_almost_equal
8 years ago
Yancey1989
cbabaa4544
convert dataset into recordio format
8 years ago
caoying03
855ae59d44
add KmaxSeqScoreLayer implementation.
8 years ago
dangqingqing
7fdfe1a9c7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into unit_test
8 years ago
dangqingqing
c540aa040f
Refine unit test in op_test_util
8 years ago
Yu Yang
89d33ff83f
Complete chagne op creation method.
...
Currently use `Operator("fc", X="x", W='w1', B='b1')` as operator
creation method.
Fix #3198
8 years ago
Yu Yang
82f8304ff0
Merge branch 'feature/fast_python_unittest' into feature/change_op_creation
8 years ago
Yu Yang
a239418bdf
Fix unittest for operator.py
...
Rename operator.py to op.py because it is conflict with protobuf
8 years ago
Yu Yang
53f85df1ab
Start doing `python.framework.operator`
8 years ago
tensor-tang
3c3a11a0dc
add use_mkldnn flag
8 years ago
Yu Yang
36d40b1b70
Paddle needs numpy>=1.12
...
* because it uses `numpy.flip` in `test_image.py`
8 years ago
Yu Yang
aaf2d66db8
Merge branch 'develop' of github.com:baidu/Paddle into gradient_check_utils
8 years ago
fengjiayi
df84e39a00
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into dev_add_FillZerosLikeOp_test
8 years ago
Qiao Longfei
d953611e86
Softmax grad op ( #3164 )
...
* init softmax grad op
* add compute code
* export Backward to python
* update test ,export op.type to python
* update python test, fix compute bug
* update unit test
* use eigen
* optimize eigen code
* add gpu test
* register softmax_grad GPU kernel and fix test bug
* typo
* follow comments
8 years ago
caoying03
aa0ca57a6b
add unittest.
8 years ago
caoying03
567c1a1f65
add config functions for kmax_sequence_score layer.
8 years ago
dangqingqing
4eb25b4793
update code.
8 years ago
Yu Yang
133541ee41
Merge codes
8 years ago
Yu Yang
fbcadb75c6
Merge branch 'develop' of github.com:baidu/Paddle into gradient_check_utils
8 years ago
caoying03
6e291b34c3
Merge branch 'develop' into add_nest_sequence_select
8 years ago
Guo Sheng
0c181c6387
Merge pull request #3112 from guoshengCS/add-ClipLayer
...
Add ClipLayer
8 years ago
fengjiayi
589c3d864b
Rewirte test based on python test frameworks
8 years ago
Qiao Longfei
cc6c33b8b2
export Backward to python ( #3174 )
...
* export Backward to python
8 years ago
Guo Sheng
b7b956f0ba
Merge branch 'develop' into add-ClipLayer
8 years ago
Guo Sheng
5cb29a8fbf
Merge pull request #3083 from guoshengCS/add-L2NormLayer
...
add RowL2NormLayer
8 years ago
dangqingqing
bd01cea1f3
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into sigmoid_bp
8 years ago
dangqingqing
0560733c2e
Add sigmoid backward implenmention.
8 years ago
guosheng
5d644994d3
Add test_clip_layer.protostr for ClipLayer python unit test
8 years ago
guosheng
3fe9e48f36
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-L2NormLayer
8 years ago
guosheng
17e16c2548
Refine RowL2NormLayer and add python unit test for it
8 years ago
caoying03
d3e30146e4
Merge branch 'develop' into add_nest_sequence_select
8 years ago
caoying03
4b39f92bd8
add implementation of SubNestedSequenceLayer.
8 years ago
Yu Yang
3e812383bc
Merge branch 'develop' of github.com:baidu/Paddle into gradient_check_utils
8 years ago
Yu Yang
a0590004ce
Add __all__ in `gradient_checker.py`
8 years ago
qijun
341d1880ee
Merge remote-tracking branch 'baidu/develop' into op_gpu_test
8 years ago
Yu Yang
fcc28ccea2
Add comments
8 years ago
Yu Yang
7c42aad412
Initialize Gradient Checker
...
Add get_numeric_gradient API and its unittest.
8 years ago
guosheng
82911cecb6
Merge branch 'develop' of https://github.com/PaddlePaddle/paddle into add-ClipLayer
8 years ago
guosheng
d19355a532
Refine ClipLayer and add unit test for it
8 years ago
qijun
81cc7a3227
merge baidu/develop
8 years ago
fengjiayi
244c343b66
Fix a test error
8 years ago
fengjiayi
3a8017d148
Merge branch 'backward_dev' into dev_add_FillZerosLikeOp_test
8 years ago
fengjiayi
c59fe7a039
Add unittest for FillZerosLikeOp
8 years ago
fengjiayi
8bd73159c7
Add unittest for `FillZerosLikeOp`
8 years ago
liaogang
c36a093c5e
Fix conflict
8 years ago
Yancey
ec9d4d527e
Add start_record interface ( #3128 )
...
* add start_record interface
* call master client in reader
* update
* add demo code in comments
* update comments
* delete unittest for recordio reader
8 years ago
hedaoyuan
aaf8401fa0
Merge pull request #3126 from hedaoyuan/slice
...
Slice Layer
8 years ago
guosheng
f35e08471c
revise the format of __all__ in layers.py
8 years ago
liaogang
1e676f684d
Add mean op unit test in python
8 years ago
Yu Yang
5d134a03f1
Refine remove std::shared_ptr in Scope
...
* Make interface of Operator to `const Scope&`
8 years ago
hedaoyuan
46988517f2
Fix a small bug.
8 years ago
hedaoyuan
4b1bc6815e
Fix comments of slice_projection, and add unit test of SliceProjection.
8 years ago
hedaoyuan
dc9f31b32b
Add SliceProjection and slice_projection.
8 years ago
qijun
cf5ac5888e
reduce gpu memory allocation in op_test
8 years ago
qijun
61f94f0002
add EIGEN_USE_GPU macro to op.cu file
8 years ago
caoying03
c0ecd5c4c5
add config helper.
8 years ago
qijun
4a1f7bd21f
add gpu python op test
8 years ago
qijun
4cc42171db
merge baidu/develop
8 years ago
dongzhihong
933e55eb06
fix conflict
8 years ago
guosheng
23a8d015e0
add ClipLayer
8 years ago
dongzhihong
47556689d4
"remove unused code"
8 years ago
dongzhihong
4d8ece8a3c
"update"
8 years ago
Yan Chunwei
aee0d3ec5f
RecurrentOp implementation ( #2890 )
...
* add rnn op interfaces
* add Run
* rename state -> memory
* change state -> memory
* make compilable
* add .cc
* init test
* add op fake implementation
* add CreateStepNet and CreateScopes implementation.
* add TODO list
* init memory attributes.
* add LinkMemories
* add PlainNet fake implementation
* Use std::shared_ptr<Scope> in the OpRunContext.
* add test
* disable mutable_data
* finist segmentInput function
* enable mutable_data with a trick
* RNNOp test.
* enable LinkMemories with mutable_data
* update SegmentInput function with comments
* finish ConcatOutput function
* reformat inputs and attributes
boot_memories
* Refine unit test.
* Refine unit test.
* modify inlinks.
* add OpDesc to Net
* fix bug and update unit test.
* move step scopes from inputs to outputs
* fix merge conflict, update SegmentInput function
* add RecurrentOpProtoAndCheckerMaker.
* clean the codes
* Abstract GetStepScopes and GetMaxSeqLen function
* refine LinkMemories
* Refine code and add some comments.
* add backward core
* update for develop branch.
* add forward core
* add forward algorithm
* Add RecurrentGradientAlgorithm implenmention.
* use CopyFrom and Slice function in RecurrentOp
* add unit test for LinkMemories.
* fix unit test.
* use the latest tensor.h, solve conflict
* add maker
* move SegmentInput and ConcatOutput to details nameplace
* unit test for RecurrentGradientAlgorithm.
* apply OperatorBase
* apply net operator.
* move memorys to attributes
* add RecurrentGradientOp
* open test unit test in recurrent_network_op_test.
* revert some files.
* add RecurrentArgument and Link struct to simplify member variable.
* rename.
* move recurrent_op from framework to operators
* add RecurrentGradientOp Init
* fix name
* fix Link.interal/external name
* use namespace operators instead of framework
* clean the code
* use the latest add_op and mul_op, don't test backward now
* Remove ScopePtr and OperatorPtr
* add get_net to pybind
* add test_recurrent_op.py
* add random into gen_tensor
* update to develop branch and refine some code.
* add some comments.
8 years ago
guosheng
84660653f8
add RowL2NormLayer
8 years ago
Cao Ying
2200ff5e3c
Merge pull request #3071 from lcy-seso/enable_dropout_for_embedding
...
fix dropout and clipping settings in layer helpers.
8 years ago
caoying03
8b9e678ddf
fix dropout and clipping setttings in layer helpers.
8 years ago
qingqing01
44923db6ee
Merge pull request #3082 from qingqing01/multi_gpu_infer
...
Fix bug for multi-GPU inference.
8 years ago
武毅
c10121e13c
[Done] Sync master client between passes and fix recordio split ( #2948 )
...
* fix recordio split and task passes
* update for pre commit
* update
* update, still need to sync client wait for pass end.
* able to sync passes for task dispatching
* update to comment
* update
* fix yapf check
* why local pre-commit fails? version is the same
* fix race condition
* update
* fix race condition
* this still have duplicate problem in unit test
* update
* update
* update by comment
* update
8 years ago
dangqingqing
7c13292cff
Fix bug for multi-GPU inference.
8 years ago
Cao Ying
eff17a6859
Merge pull request #3049 from lcy-seso/fix_v2_bachnorm_parse
...
enable v2 automatically sets using cudnn-batch norm.
8 years ago
caoying03
ccdc262848
enable v2 use cudnn batch norm automatically.
8 years ago
dongzhihong
e5cb9b77b6
"fix gen list"
8 years ago
dongzhihong
a22567ebef
"fix almost equal error"
8 years ago
dongzhihong
984225ecf1
"fix operator"
8 years ago
qijun
358261f0bd
fix gpu build error
8 years ago
Yu Yang
afe7bf6179
Merge pull request #3032 from reyoung/feature/middle_level_net_api
...
Feature/middle level net api
8 years ago
Yu Yang
61cd828f3a
Follow comments
8 years ago
Yu Yang
754f0c68da
Fix unittest
8 years ago
dongzhihong
32c15a2919
"random op test"
8 years ago
Yu Yang
385bd4648e
Make C lib in `paddle.v2.master.client` lazy load
...
Currently, WITH_GOLANG is a compiling flag, and not all Paddle binary
enable `WITH_GOLANG=ON`. So we cannot ensure that every paddle has
`master.so`. Make load that C libary lazily could let the user run
Paddle without `WITH_GOLANG=ON`.
8 years ago
Yu Yang
b80590d70b
Remove test_plain_net
8 years ago
Zhaolong Xing
0d26a15890
Merge pull request #3009 from NHZlX/add_paramAttr
...
add param_attr parameter for img_conv_groups(...) in /python/trainer_config_helpers/networks.py
8 years ago
Yu Yang
0467cd2dfe
Merge branch 'develop' into feature/middle_level_net_api
8 years ago
Helin Wang
3ff0a9fbb1
Implement distributed training save model, improve master.NewClient interface
8 years ago
Yu Yang
0ceeacbe45
Make Scope can lookup variable name by variable
...
* Refine unittest also
8 years ago
Yu Yang
0ab678e9e2
Add unittest for network
8 years ago
Yu Yang
c14f3e8ff2
Merge branch 'develop' into feature/middle_level_net_api
8 years ago
Yu Yang
9e4fac1ef4
Complete Add Op
8 years ago
Yu Yang
684563660b
Init commit
8 years ago
zlx
a59fa46c1f
Merge branch 'add_paramAttr' of https://github.com/NHZlX/Paddle into add_paramAttr
8 years ago
zlx
86d692e56b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_paramAttr
8 years ago
zlx
18f4d24d0d
moidify comment of im_conv_group
8 years ago
Yu Yang
1294b3c53e
Expose Net to Python ( #2967 )
...
* Expose Net to Python
* Expose PlainNet to Python, make python can add_op, complete_add_op
* Provide a low level api to manipulate Net
* Unittest for Net::DebugString
8 years ago
Zhaolong Xing
5f32cc10c2
Update networks.py
...
modify the format
8 years ago
Zhaolong Xing
91d2a57a2e
Merge pull request #2776 from NHZlX/mobilenet_gpu
...
Mobilenet gpu implementation
8 years ago
zlx
21a3c9d6f4
add the comments for img_conv_groups
8 years ago
zlx
fae3632c91
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into add_paramAttr
8 years ago
zlx
a183a80e2e
add param_attr for img_conv_group(...)
8 years ago
qijun
06acd6d0cb
add unittest for some basic OpKernels
8 years ago
Qiao Longfei
2685765905
add cross-entropy-op ( #2965 )
...
* add cross-entropy-op
* add infershape and compute
* implement Infershape and compute of onehotcrossentropy op
8 years ago
xzl
d5b0c57d7e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
8 years ago
Cao Ying
6a6e1c7407
Merge pull request #2944 from lcy-seso/fix_recurrent_parse_bug
...
fix recurrent_group parsing bug.
8 years ago
caoying03
1b6faffeb5
Merge branch 'develop' into fix_recurrent_parse_bug
8 years ago
livc
ea09edc991
pass precommit
8 years ago
wanghaoshuang
ec236f4624
fix code format
8 years ago
xzl
4d6be9741c
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
8 years ago
Yu Yang
a98346f4cd
Add comment to `OpTestMeta` ( #2968 )
8 years ago
Qiao Longfei
e3b27d1998
Add sgd op ( #2950 )
...
* a simplest SGD op
8 years ago
xzl
77ff97ab38
fuse interface of depthwise to expand in python api
8 years ago
whs
2e2a674892
Merge pull request #2490 from wanghaoshuang/crop_layer
...
add crop layer
8 years ago
Yu Yang
21baa94b04
Merge branch 'feature/expose_net_op' into feature/middle_level_net_api
8 years ago
Yu Yang
d52913401d
Merge pull request #2947 from reyoung/feature/add_op_test
...
Feature/add op test
8 years ago
Yu Yang
0380bfb3cf
Expose Net to Python
...
* Expose PlainNet to Python, make python can add_op, complete_add_op
* Provide a low level api to manipulate Net
* Unittest for Net::DebugString
8 years ago
wanghaoshuang
a6c53fc2fc
fix python wrapper bugs
8 years ago
Yu Yang
e8304bd92a
Merge pull request #2945 from reyoung/feature/grouped_ops
...
Skeleton Of fully connected operator
8 years ago
wanghaoshuang
2e58f2c4c9
Merge branch 'crop_layer' of https://github.com/wanghaoshuang/Paddle into crop_layer
8 years ago
wanghaoshuang
60a788933b
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into crop_layer
8 years ago
whs
d83bae85da
Merge branch 'develop' into crop_layer
8 years ago
wanghaoshuang
3e7819c276
1. Reading image shape from input data instead of image_config
...
2. Add crop layer unitest
3. Fix bugs
8 years ago
wanghaoshuang
e8ee07f31f
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into pixel_softmax_layer
8 years ago
wanghaoshuang
1cdf149b6f
1. delete PixelSoftmaxLayer and add SwitchOrderLayer
...
2. Make SwitchOrderLayer support for softmax activation
3. Fix bugs
8 years ago
xzl
d50c71f3e2
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
8 years ago
qingqing01
c1ebb3143f
Merge pull request #2785 from wanghaoshuang/voc_dataset
...
Add voc2012 dataset for image segment
8 years ago
emailweixu
84a0d6d898
Merge pull request #2572 from skylian/error_clipping
...
Enable error clipping for fc layer
8 years ago
xzl
44927bf70a
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
8 years ago
xzl
d43fbbae74
add comments for python api
8 years ago
Yu Yang
3402b6ad39
Add Unittest of add_two_op
8 years ago
Yu Yang
d3373c5b85
Skeleton Of fully connected operator
...
* Fc operator is a grouped operator, which combined by may internal
operators.
* InferShape & Run a FC operator in Python.
8 years ago
Yu Yang
a89c7ffa94
Make Tensor <--> Numpy interactive in tensor.h
...
* Follow review comments to seperate Tensor Numpy interactive methods in
tensor.h.
* Simplify logic for `CastToPyBufferImpl`, make it as one struct and in
details namespace.
* Remove `Scope` expose in Python, since it currently is useless.
* Remove some debug functions.
8 years ago
wanghaoshuang
ceb9a73aaa
fix import err
8 years ago
wanghaoshuang
b142a6b063
Merge branch 'develop' of https://github.com/paddlepaddle/paddle into voc_dataset
8 years ago
wanghaoshuang
302c4f11d1
rename voc_seg to voc2012
8 years ago
Yu Yang
bde90be71b
Read/Write a Tensor Python
...
Basically following
http://pybind11.readthedocs.io/en/stable/advanced/pycpp/numpy.html
* Use buffer protocol to return a view of Tensor. It can be cast to
numpy array in Python.
* Set a numpy array to a tensor.
8 years ago
caoying03
0ed51ce2e4
fix bug of type check of inputs to recurrent_group.
8 years ago
Yu Yang
c78a5e5da2
Fix merge error before
8 years ago
Yu Yang
68f6ac011c
Merge branch 'develop' into feature/op_creation_methods
8 years ago
Yancey
83f263e6ec
Fix fetch record from master failed ( #2848 )
...
Fix fetch record from master
8 years ago
qingqing01
1032ef1893
Merge pull request #2907 from juliecbd/to_meet_cpplint
...
Change to meet cpplint style
8 years ago
dzhwinter
9b5adfa482
Merge pull request #2905 from dzhwinter/fix_mq2007
...
"fix dense vector shape in mq2007"
8 years ago
武毅
23b8346072
Fault tolerant distributed training, just work version, with etcd ( #2849 )
...
* using etcd as fault tolerant training
* update
* workable version, ft not tested
* small fix
* update
* remove TODO
8 years ago
jc
278f1a8499
fix calling swig_api before import
8 years ago
jc
02e56304c1
fix calling swig_api before import
8 years ago
dongzhihong
56fbed9a42
"fix dense vector shape in mq2007"
8 years ago
Yu Yang
9e0c6800c5
Python Generate OpCreation Methods by OpProto
...
All OpCreation method are generated by
`create_op_creation_methods::__bootstrap__` method, and stores in
`op_creations` object and its methods.
There are three parts to implement this feature.
1. Get all registered `OpProto` from C++ side. It is implemented in
`get_all_op_protos` method.
1. Create a function to convert `kwargs` to `OpDesc` base on each op's
`OpProto`. The `OpDescCreationMethod` class.
1. Convert `OpProto` to `docstring` by `get_docstring_from_op_proto`
method.
All three methods are unit tested. The `__bootstrap__` just combines
them together and create a method in runtime.
For details, please reference the doc string in
`create_op_creation_methods.py` and the unit test
`test_op_creation_methods.py`.
8 years ago
Yu Yang
1faf5e0313
Merge pull request #2864 from reyoung/feature/op_creation_methods
...
Get OpProtos in Python
8 years ago
Yu Yang
d7405e1eaa
Fix a typo before
8 years ago
caoying03
e2fd06c386
refine name of the input parameter.
8 years ago
caoying03
ac69f7730a
add gated linear unit into config helper.
8 years ago
Yu Yang
a76f7ed2eb
Get OpProtos in Python
...
* PyBind and SWIG of paddle cannot be load in a single Python process,
lazy import all SWIG library of Paddle. Otherwise, the glog, gflags
are imported twice in a same Python process.
* Note that all PyBind11 return C++ std::string as an unicode. For
protobuf, it is need be cast to `str` before use them.
* Add unit test for Get `OpProtos`
8 years ago
Yu Yang
8da5587205
Init commit
8 years ago
xzl
6267312aa9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
8 years ago
Yu Yang
3c5cc6444c
Merge pull request #2808 from reyoung/feature/scope_default_wrapper
...
Default scope function
8 years ago
wanghaoshuang
4a5c3714ea
fix python dependency for voc2012 dataset
8 years ago
xzl
030a3db20f
the groups default should be None
8 years ago
xzl
2bc08f8914
modify format accored with clang-format 3.8
8 years ago
xzl
433935aa51
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
8 years ago
wanghaoshuang
1ba879bead
Use PIL to read image in palette mode
8 years ago
wanghaoshuang
c4f301ded7
Modify comments and fix code format.
8 years ago
wanghaoshuang
a5239ac7a5
Merge branch 'develop' of https://github.com/paddlepaddle/paddle into voc_dataset
8 years ago
武毅
bcf9f421c3
Merge pull request #2774 from typhoonzero/fix_newupdater
...
Fix new remote updater for go pserver
8 years ago
Yu Yang
d027f47d7d
Default scope function
...
`Paddle` manages Scope as programming language's scope. It just a
thread-local stack of Scope. Top of that stack is current scope, the
bottom of that stack is all scopes' parent.
Invoking `create_var/get_var` can `create/get` variable in current
scope. Invoking `enter_local_scope/leave_local_scope` can create or
destroy local scope.
A `scoped_function` will take a `function` as input. That function will
be invoked in a new local scope.
8 years ago
Yu Yang
27b196ba6d
Expose paddle.framework by pybind11 ( #2793 )
...
* Expose paddle.framework by pybind11
* Export paddle.framework.{Scope, Variable} to paddle.v2.framework.core.
* See python/paddle/v2/framework/tests/test_scope.py for Python usage
* See paddle/pybind/pybind.cc for C++ bind code.
* add copyright
8 years ago
Yu Yang
62da4a1cde
Merge pull request #2802 from reyoung/feature/fix_python_slow
...
Fix slow parsing a recursive depends topology
8 years ago
Yu Yang
313e9f551f
Fix slow parsing a recursive depends topology
...
* Fix #2797
* It because trainer_config_helpers' __dfs_travel__ did not record the
node which travelled, and if the topology has a recursive dependency,
there are some nodes will be travelled multiple times.
* Add a `travelled` set to record which node is travelled.
* Also add a unittest for this situation.
8 years ago
wanghaoshuang
475dd708b9
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into pixel_softmax_layer
8 years ago
wanghaoshuang
0152d97e63
fix pixel softmax python wrapper bug
8 years ago
wanghaoshuang
de5ded6bbd
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into crop_layer
8 years ago
wanghaoshuang
69b12225cc
fix crop layer python wrapper bug
8 years ago
yi.wu
5a4f33df7e
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into fix_newupdater
8 years ago
Cao Ying
8c615e8ff4
Merge pull request #2783 from lcy-seso/update_wmt14_model_md5
...
update the md5sum of WMT14 trained model.
8 years ago
xzl
e92f002178
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into mobilenet_gpu
8 years ago
caoying03
68ec558c21
update the md5sum of WMT14 trained model.
8 years ago
whs
a698824a8a
Merge branch 'develop' into voc_dataset
8 years ago