guosheng
2cc3453243
Refine the doc of parameters.init_from_tar
7 years ago
guosheng
6ecf08b173
Enhance init_from_tar to support indicating parameters excluded from the initialized model
7 years ago
Peng LI
25588a3831
Merge pull request #5033 from pengli09/add-a-warning
...
Add a warning to the docstring of Parameters.to_tar()
8 years ago
Peng Li
4098a03964
refine the warning message
8 years ago
Peng Li
17eef3a3f4
add a warning to docstring of Parameters.to_tar()
8 years ago
typhoonzero
71c2b296eb
update
8 years ago
caoying03
f0b25c4cfb
follow comments to refine the comments.
8 years ago
caoying03
be4c0123c4
follow comments.
8 years ago
caoying03
4a83dde594
save parameters into ordered dict.
8 years ago
Yancey
7e8c337a68
Fix save large parameters failed ( #3397 )
...
Fix save large parameters crashed
8 years ago
武毅
01e9e44348
able to print gradients in event_handler ( #3085 )
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
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
dangqingqing
23d6c594ec
add comments
8 years ago
dangqingqing
11a8dfe78e
Use Parameters.from_tar for static method.
8 years ago
dangqingqing
c9865824a7
Support to init partial network parameters from the tar file.
8 years ago
xuwei06
dd2cbb63bf
Parameter initializer in V2 API
...
User can provide an initializer in ParamAttr. The initializer will be called when at parameters.create().
8 years ago
liaogang
f7d0d99f93
'numpy.ndarray' object has no attribute 'tobytes'
8 years ago
dangqingqing
e6246b4927
fix parameter shape in v2
8 years ago
Yu Yang
c36a3f4607
Add unittest for serialize/deserialize.
8 years ago
Yu Yang
d34eb34d2a
Merge branch 'develop' of github.com:baidu/Paddle into feature/serialize_deserialize_in_parameters
8 years ago
Yu Yang
88cb8eeac4
Complete documentation for v2.
8 years ago
Yu Yang
efe53811c5
complete serialize
...
* Test gzip
8 years ago
Yu Yang
fb74ae36d4
Refine serialize
8 years ago
Yu Yang
b250fceab5
Add save/load parameters.
8 years ago
jacquesqiao
c444708a03
Merge pull request #1400 from jacquesqiao/topology
...
add Topology to handle actions on network
8 years ago
Helin Wang
305566eed4
fix parameters.append_gradient_machine
...
append_gradient_machine should append __gradient_machines__ in all conditions.
8 years ago
qiaolongfei
40427979a7
refine code
8 years ago
qiaolongfei
b9dd33f815
hide Topology
8 years ago
qiaolongfei
7cfe34da7c
modify api_train_v2
8 years ago
qiaolongfei
695b5a7fcd
change topology to layer
8 years ago
Yu Yang
8dc4c0538e
Add comments
8 years ago
Yu Yang
f9ea586431
Add get/set method
8 years ago
Yu Yang
059a162be5
Follow comments
8 years ago
Yu Yang
094d29aaad
Draft for parameters
8 years ago
Yu Yang
ce49124dae
Draft for new API
8 years ago