Yu Yang
9bd70a1e04
Change tensor uses proto::VarType::type
...
test=develop
6 years ago
chengduo
6c6e638550
Add InferVarType for some op ( #14201 )
...
* add_infer_var_type
test=develop
* InferVarTypeHelper-> VarTypeInferenceHelper
test=develop
* PassInputTypeAndDTypeOnOutput
test=develop
* follow comment
test=develop
7 years ago
Bai Yifan
faf8ad2436
Add ignore_index in cross_entropy op ( #13217 )
...
* add ignore index
* update api.spec
* enhance softmax_with_cross_entropy
7 years ago
fengjiayi
5e7aa8c7e5
code clean
7 years ago
fengjiayi
7c55e08c93
stash
7 years ago
qingqing01
10fbb831ed
Skip BatchNorm when feature only has 1 element. ( #11578 )
...
* Fix batch norm when only 1 elements in normzalize dimension during training.
7 years ago
dzhwinter
bfa3fd6f15
add inplace attribute to op_proto_maker ( #10665 )
...
* "add inplace attribute"
* "register inplace attribute"
* "change se-next model for memory-reuse"
* "fix typo"
* repick
* fix merge conflict
* "fix stupid error"
7 years ago
Yu Yang
0e78cb69fb
Clean OpProtoAndCheckerMaker
...
Do not use ctor
* Reduce line of codes.
* We can use virtual function for Maker now.
* The implementation does not care what maker holds, it is easier to
refactor later.
7 years ago
Yu Yang
76174ec0e9
Clean cross entropy and add sync in executor
7 years ago
Yang Yang(Tony)
e04c43d543
add semicolon to op registry ( #10034 )
...
* script to add semicolon
* fix typo
7 years ago
Yang Yang
ce7c2e86e5
script to fix all
7 years ago
qingqing01
24509f4af9
Fix the grammar in copyright. ( #8403 )
7 years ago
Yi Wang
fc374821dd
Correct #include path
7 years ago
Yi Wang
90648f336d
Move file to fluid/; Edit CMakeLists.txt
7 years ago