-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add WITH_DOC for print_operators_doc #6098
Conversation
1. Add nce forward and backward kernel for CPU
1. Remove checking for num_neg_samples. 2. Fix dims of Output(Cost) and Input(Bias). 3. Renamed num_sampled_classes to num_neg_samples. 4. Add TODO for add more distribution sampler. 5. Init grad_data of bias by zero. 6. Refine comments. 7. Register a kernel for type double.
* Fix Proformance problem of enforce * Fix missing `;` in code * Fix CI
Use protobuf v3.2.0 for MOBILE_INFERENCE compiling.
* Enable the case N != ldc in EigenBlasGemm. * Use MemoryHandle instead of direct calling of posix_memalign to alloc temporary memory. * Use Eigen's slice() instead of a temporary memory. * Add if-else for different cases in EigenBlasGemm (for N ?= ldc).
enable inference benchmark
Fix comments in sequence_rnn_(mixed/matched)_inputs.py
Also, change the `labels` to `label` for api consistency
@@ -5,4 +5,6 @@ if(WITH_PYTHON) | |||
${GLOB_OP_LIB}) | |||
endif(WITH_PYTHON) | |||
|
|||
cc_binary(print_operators_doc SRCS print_operators_doc.cc DEPS ${GLOB_OP_LIB}) | |||
if(WITH_DOC) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should also disable https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/scripts/docker/build.sh#L186 when WITH_DOC not enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in #6184
Add nce op
…l glog for Android API < 21. (#6113) * Automatically configure the version and commit information in capi. * Use the unofficial glog repository for building for Android (API < 21).
* Expose sigmoid_cross_entropy_with_logits Also, change the `labels` to `label` for api consistency * Very simple GAN based on pure FC layers
* change GPU memory allocating policy * fix potential overflow bug
* fix grpc compile warn * update * -Wnon-virtual-dtor -> -Wno-non-virtual-dtor
Add switch for distributed support
Fix the compiling error when seting WITH_C_API=ON and WITH_PYTHON=ON.
polish mkldnn doc
… into luotao1-print_operators_doc
close due to the confusion commit log |
fix #6092